sceneGraph derived from ygNode | Example | Source | Header |
Messages |
node | node | set root node name |
select | node | set the node to select |
width | float | set the width between nodes |
height | float | set the height between depths |
depth | [integer] | set the graph depth to display |
Events |
select | xpos, ypos | report the position of the selected graph node |
Comments |
constructor sceneGraph
destructor ~sceneGraph
method reset
1 set width to 2.0
2 set height to 2.0
3 set depth to 99
method message
1 set root node name
2 set the node to select
3 set the width between nodes
4 set the height between depths
5 set the graph depth to display
method app
1 if node tree status has changed then rebuild graph
method buildGraph
method buildNode
1 call buildNode recursively on all children
method createConnection
method checkSelect
0.1 report the position of the selected graph node