BLI: add dot::Edge.set_label method
This method sets the label of an edge in a dot graph.
This commit is contained in:
parent
fc9f7e3e51
commit
e4a4dc5309
|
@ -237,6 +237,11 @@ class Edge : blender::NonCopyable, blender::NonMovable {
|
|||
{
|
||||
this->set_attribute("dir", dirType_to_string(type));
|
||||
}
|
||||
|
||||
void set_label(StringRef label)
|
||||
{
|
||||
this->set_attribute("label", label);
|
||||
}
|
||||
};
|
||||
|
||||
class DirectedEdge : public Edge {
|
||||
|
|
Loading…
Reference in New Issue