|
|
AddCommand(self,
title,
hotkey)
Adds a menu command to the graph. |
|
|
|
|
AddEdge(self,
src_node,
dest_node)
Creates an edge between two given node ids |
|
|
|
|
AddNode(self,
obj)
Creates a node associated with the given object and returns the node
id |
|
|
|
|
Clear(self)
Clears all the nodes and edges |
|
|
|
|
Close(self)
Closes the graph. |
|
|
|
|
Count(self)
Returns the node count |
|
|
|
|
OnRefresh(self)
Event called when the graph is refreshed or first created. |
|
|
|
|
|
|
|
Select(self,
node_id)
Selects a node on the graph |
|
|
|
|
Show(self)
Shows an existing graph or creates a new one |
|
|
|
|
__getitem__(self,
idx)
Returns a reference to the object associated with this node id |
|
|
|
|
__init__(self,
title,
close_open=False)
Constructs the GraphView object. |
|
|
|
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|