*/
public NodeImpl(GraphImpl parent, float x, float y, float radius, String label, float labelSize, float r, float g, float b) {
this.parent = parent;
this.position = new PointImpl(x, y);
this.radius = radius;
this.originalColor = new SimpleColor(r, g, b, 0);
if (label != null) {
this.label = new NodeLabelImpl(this, label, labelSize);
this.labelBorder = new NodeLabelBorderImpl(this);
} else {
this.label = null;