l.b.b.s.SpecGraphNode : class documentation

Part of lp.blueprints.browser.specification View In Hierarchy

Node in the spec dependency graph.

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.
def __init__(self, spec, root=False, url_pattern_for_testing=None):
Undocumented
def makeLabel(self, spec):
Return a label for the spec.
def __str__(self):
Undocumented
def getDOTNodeStatement(self):
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.

API Documentation for Launchpad, generated by pydoctor at 2022-06-16 00:00:12.