Skip to content

Instantly share code, notes, and snippets.

@xeolabs
Created October 17, 2009 06:13
Show Gist options
  • Save xeolabs/212262 to your computer and use it in GitHub Desktop.
Save xeolabs/212262 to your computer and use it in GitHub Desktop.
var graph = SceneJs.graph(
SceneJs.node({
preVisit: function(nodeContext) {
// Your pre-visit functionality
},
postVisit: function(nodeContext) {
// Your post-visit functionality
},
},
SceneJs.node(),
SceneJs.node()
),
SceneJs.node()
);
graph.traverse();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment