Public Member Functions | |
def | __init__ |
def | addEdgeItem |
def | dotcode_to_qt_items |
def | getNodeItemForNode |
def | getNodeItemForSubgraph |
def | parse_edges |
def | parse_nodes |
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 , |
|||
scene = None |
|||
) |
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 164 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 , |
|||
scene = None |
|||
) |
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 238 of file dot_to_qt.py.
def qt_dotgraph.dot_to_qt.DotToQtGenerator.getNodeItemForNode | ( | self, | |
node, | |||
highlight_level, | |||
scene = None |
|||
) |
returns a pyqt NodeItem object, or None in case of error or invisible style
Definition at line 118 of file dot_to_qt.py.
def qt_dotgraph.dot_to_qt.DotToQtGenerator.getNodeItemForSubgraph | ( | self, | |
subgraph, | |||
highlight_level, | |||
scene = None |
|||
) |
Definition at line 68 of file dot_to_qt.py.
def qt_dotgraph.dot_to_qt.DotToQtGenerator.parse_edges | ( | self, | |
graph, | |||
nodes, | |||
highlight_level, | |||
same_label_siblings, | |||
scene = None |
|||
) |
Recursively searches all edges inside the graph and all subgraphs.
Definition at line 288 of file dot_to_qt.py.
def qt_dotgraph.dot_to_qt.DotToQtGenerator.parse_nodes | ( | self, | |
graph, | |||
highlight_level, | |||
scene = None |
|||
) |
Recursively searches all nodes inside the graph and all subgraphs.
Definition at line 258 of file dot_to_qt.py.