net.claribole.zgrviewer.dot
Class BasicNode
java.lang.Object
net.claribole.zgrviewer.dot.Node
net.claribole.zgrviewer.dot.CommonNode
net.claribole.zgrviewer.dot.BasicNode
- public class BasicNode
- extends net.claribole.zgrviewer.dot.CommonNode
Simple kind of node used as default in GraphViz
- Author:
- Eric Mounhem
Constructor Summary |
BasicNode(java.lang.Object root,
java.lang.String id)
Create a default node type in GraphViz |
Method Summary |
protected void |
changeOption(java.lang.String name,
java.lang.String value)
|
protected java.lang.String |
nodeOptions()
Write node options |
Methods inherited from class net.claribole.zgrviewer.dot.Node |
addInEdge, addOutEdge, getIn, getOut, getRootGraph, printOption, printOption, printOption, printOption, removeInEdge, removeOutEdge, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BasicNode
public BasicNode(java.lang.Object root,
java.lang.String id)
throws java.lang.Exception
- Create a default node type in GraphViz
- Parameters:
root
- parent graphid
- identificator of the node
- Throws:
java.lang.Exception
- Exception thrown when no ID is given
changeOption
protected void changeOption(java.lang.String name,
java.lang.String value)
nodeOptions
protected java.lang.String nodeOptions()
- Description copied from class:
Node
- Write node options
- See Also:
CommonNode.nodeOptions()
Copyright © 2004-2005 INRIA. All Rights Reserved
Licensed under the GNU LGPL. For full terms see the file COPYING.