Public Member Functions | |
| def | __init__ | 
| def | createGraph | 
| def | addLink | 
| def | addItem | 
| def | selectItem | 
| def | layout | 
| def | clearLinks | 
| def | orthoLinks | 
Public Attributes | |
| parent | |
| item | |
| node | |
| canvas | |
| editor | |
| citems | |
| def gui.graph.Graph.addItem | ( | self, | |
| item | |||
| ) | 
Definition at line 112 of file graph.py.
References gui.graph.Graph.canvas, gui.CItems.LinkItem.canvas, and gui.graph.Graph.citems.
| def gui.graph.Graph.addLink | ( | self, | |
| link | |||
| ) | 
Definition at line 93 of file graph.py.
References gui.graph.Graph.canvas, gui.CItems.LinkItem.canvas, and gui.graph.Graph.citems.
| def gui.graph.Graph.layout | ( | self, | |
| rankdir | |||
| ) | 
Compute graph layout with graphviz package
Definition at line 123 of file graph.py.
References gui.graph.attrs(), and gui.graph.Graph.citems.
| def gui.graph.Graph.orthoLinks | ( | self | ) | 
| def gui.graph.Graph.selectItem | ( | self, | |
| item | |||
| ) | 
| gui.graph.Graph.canvas | 
Definition at line 46 of file graph.py.
Referenced by gui.graph.Graph.addItem(), gui.graph.Graph.addLink(), gui.GraphViewer.GraphViewer.clear(), gui.GraphViewer.GraphViewer.contentsMouseDoubleClickEvent(), gui.GraphViewer.GraphViewer.contentsMouseMoveEvent(), gui.GraphViewer.GraphViewer.contentsMousePressEvent(), gui.GraphViewer.InPortItem.link(), gui.CItems.InControlItem.link(), gui.GraphViewer.OutPortItem.link(), gui.CItems.OutControlItem.link(), gui.CItems.InPortItem.link(), gui.CItems.OutPortItem.link(), gui.CItems.Cell.pynotify(), and gui.GraphViewer.GraphViewer.selectItem().
| gui.graph.Graph.citems | 
Definition at line 59 of file graph.py.
Referenced by gui.graph.Graph.addItem(), gui.graph.Graph.addLink(), and gui.graph.Graph.layout().