Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 1
Draft Session
Maximilian Klein edited this page Sep 7, 2016
·
1 revision
Some possible query formats
inc.node(['a','b'])inc.node('»a»b')// = inc.node(['a', 'b'])inc.node('/std/const')// = first const node found in inc.inc.nodes('/std/const')// = all const nodes in incinc.nodesDeep('/std/const')// = all const nodes in inc and in its childreninc.node('#djhauj3433jasdj')// query by unique idinc.addEdge('/std/const@0','/math/add@1',{noStrict: true})// noStrict does not throw exception if the nodes are not uniquely describe by the selectorinc.addEdge('»a»b','#askjdhaskjdhas')//throws error if it is not possible to connect the nodes.inc.hasEdge('/std/const@0','/math/add@1')