|
| __init__ (self, title, close_open=False) |
| Constructs the GraphView object.
|
|
| AddNode (self, obj) |
| Creates a node associated with the given object and returns the node id.
|
|
| AddEdge (self, src_node, dest_node) |
| Creates an edge between two given node ids.
|
|
| Clear (self) |
| Clears all the nodes and edges.
|
|
| __iter__ (self) |
|
| __getitem__ (self, idx) |
| Returns a reference to the object associated with this node id.
|
|
| Count (self) |
| Returns the node count.
|
|
| Close (self) |
| Closes the graph.
|
|
| Show (self) |
| Shows an existing graph or creates a new one.
|
|
| Select (self, node_id) |
| Selects a node on the graph.
|
|
| OnRefresh (self) |
| Event called when the graph is refreshed or first created.
|
|
| AddCommand (self, title, shortcut) |
|
| OnPopup (self, widget, popup_handle) |
|
| OnCommand (self, cmd_id) |
|
| view_activated (self, view) |
| view_activated(self, view) A view is activated
|
|
| view_deactivated (self, view) |
| view_deactivated(self, view) A view is deactivated
|
|
| view_keydown (self, view, key, state) |
| view_keydown(self, view, key, state) Key down event
|
|
| view_click (self, view, ve) |
| view_click(self, view, event) Click event
|
|
| view_dblclick (self, view, ve) |
| view_dblclick(self, view, event) Double click event
|
|
| view_curpos (self, view, *args) |
| view_curpos(self, view) Cursor position changed
|
|
| view_close (self, view, *args) |
| view_close(self, view) View closed
|
|
| view_switched (self, view, rt) |
| view_switched(self, view, rt) A view's renderer has changed.
|
|
| view_mouse_over (self, view, ve) |
| view_mouse_over(self, view, event) The user moved the mouse over (or out of) a node or an edge.
|
|
| view_loc_changed (self, view, now, was) |
| view_loc_changed(self, view, now, was) The location for the view has changed (can be either the place_t, the renderer_info_t, or both.)
|
|
| view_mouse_moved (self, view, ve) |
| view_mouse_moved(self, view, event) The mouse moved on the view
|
|
| Refresh (self) |
| Refreshes the view.
|
|
| GetCurrentRendererType (self) |
|
| SetCurrentRendererType (self, rtype) |
| Set the current view's renderer.
|
|
| SetNodeInfo (self, node_index, node_info, flags) |
| Set the properties for the given node.
|
|
| SetNodesInfos (self, values) |
| Set the properties for the given nodes.
|
|
| GetNodeInfo (self, *args) |
| Get the properties for the given node.
|
|
| DelNodesInfos (self, *nodes) |
| Delete the properties for the given node(s).
|
|
| CreateGroups (self, groups_infos) |
| Send a request to modify the graph by creating a (set of) group(s), and perform an animation.
|
|
| DeleteGroups (self, groups, new_current=-1) |
| Send a request to delete the specified groups in the graph, and perform an animation.
|
|
| SetGroupsVisibility (self, groups, expand, new_current=-1) |
| Send a request to expand/collapse the specified groups in the graph, and perform an animation.
|
|
| GetWidget (self) |
| Return the TWidget underlying this view.
|
|
| GetWidgetAsGraphViewer (self) |
| Return the graph_viewer_t underlying this view.
|
|
"bool" | hook (self) |
| hook(self) -> bool
|
|
"bool" | unhook (self) |
| unhook(self) -> bool
|
|
"void" | view_created (self, "TWidget *" view) |
| view_created(self, view) A view is being created.
|
|
| __disown__ (self) |
|