question: public void drawConnection ( ViewTransform transform , Graphics2D g , ColorSet colorSet , boolean isSelected , Point target ) { ConnectionDrawing drawing = new ConnectionDrawing ( ) ; addPathConnection ( transform , g , isSelected , false , drawing , colorSet , ( int ) target . getX ( ) , ( int ) target . getY ( ) , false , false ) ; boolean drawShadow = isSelected && mAnchor . getConnectionCreator ( ) != ConstraintAnchor . AUTO_CONSTRAINT_CREATOR ; if ( drawShadow ) { Color pre = g . getColor ( ) ; Stroke s = g . getStroke ( ) ; g . setColor ( sShadowColor ) ; g . setStroke ( sShadowStroke ) ; drawing . draw ( g ) ; g . setColor ( pre ) ; g . setStroke ( s ) ; } drawing . draw ( g ) ; }
target:  Draw a connection from an anchor to a given position