Part of lp.blueprints.browser.specification View In Hierarchy
A SpecGraphNode object has various display-related properties.
Method | __init__ | Undocumented |
Method | makeLabel | Return a label for the spec. |
Method | __str__ | Undocumented |
Method | getDOTNodeStatement | Return this node's data as a DOT unicode. |
This fills in the node_stmt in the DOT BNF: http://www.graphviz.org/doc/info/lang.html
node_stmt : node_id [ attr_list ] node_id : ID [ port ] attr_list : '[' [ a_list ] ']' [ attr_list ] a_list : ID [ '=' ID ] [ ',' ] [ a_list ] port : ':' ID [ ':' compass_pt ] | ':' compass_pt compass_pt : (n | ne | e | se | s | sw | w | nw)
We don't care about the [ port ] part.