7 double[] position_ =
null;
13 return label_==
null ? super.getLabel() : label_;
16 public void setLabel(String label) { label_=label; }
19 position_=
new double[] {x,y};
Interface to nodes of a graph.
String getLabel()
get text description
SimpleNode create()
Create new node instance.
void setLabel(String label)
set label (default label if label==null)
double[] getPosition()
helper for drawing the graph: return {x,y} as array or null
void setPosition(double x, double y)
helper for drawing the graph (if supported)