Public Member Functions | |
def | __init__ |
def | addEdgeItem |
def | dotcode_to_qt_items |
def | getNodeItemForNode |
def | getNodeItemForSubgraph |
Definition at line 63 of file dot_to_qt.py.
def qt_dotgraph.dot_to_qt.DotToQtGenerator.__init__ | ( | self | ) |
Definition at line 65 of file dot_to_qt.py.
def qt_dotgraph.dot_to_qt.DotToQtGenerator.addEdgeItem | ( | self, | |
edge, | |||
nodes, | |||
edges, | |||
highlight_level, | |||
same_label_siblings = False |
|||
) |
adds EdgeItem by data in edge to edges :param same_label_siblings: if true, edges with same label will be considered siblings (collective highlighting)
Definition at line 167 of file dot_to_qt.py.
def qt_dotgraph.dot_to_qt.DotToQtGenerator.dotcode_to_qt_items | ( | self, | |
dotcode, | |||
highlight_level, | |||
same_label_siblings = False |
|||
) |
takes dotcode, runs layout, and creates qt items based on the dot layout. returns two dicts, one mapping node names to Node_Item, one mapping edge names to lists of Edge_Item :param same_label_siblings: if true, edges with same label will be considered siblings (collective highlighting)
Definition at line 221 of file dot_to_qt.py.
def qt_dotgraph.dot_to_qt.DotToQtGenerator.getNodeItemForNode | ( | self, | |
node, | |||
highlight_level | |||
) |
returns a pyqt NodeItem object, or None in case of error or invisible style
Definition at line 109 of file dot_to_qt.py.
def qt_dotgraph.dot_to_qt.DotToQtGenerator.getNodeItemForSubgraph | ( | self, | |
subgraph, | |||
highlight_level | |||
) |
Definition at line 68 of file dot_to_qt.py.