draw() {
        var ctx = simulationArea.context;
        drawCircle(ctx, this.absX(), this.absY(), 3, ['green', 'red'][+(simulationArea.lastSelected === this)]);
    }
@memberof layoutNode
this function is used to draw the nodes