BLI: add dot::Edge.set_label method
This method sets the label of an edge in a dot graph.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user