question: @ SuppressWarnings ( "deprecation" ) private void renderConnectionsBackground ( final InputPorts inputPorts , final OutputPorts ports , final Graphics2D g2 ) { for ( int i = 0 ; i < ports . getNumberOfPorts ( ) ; i ++ ) { OutputPort from = ports . getPortByIndex ( i ) ; Port to = from . getDestination ( ) ; if ( to != null ) { Shape connector = ProcessDrawUtils . createConnector ( from , to , model ) ; if ( connector == null ) { return ; } g2 . setColor ( Color . WHITE ) ; if ( from . getMetaData ( ) instanceof CollectionMetaData ) { g2 . setStroke ( CONNECTION_COLLECTION_LINE_BACKGROUND_STROKE ) ; } else { g2 . setStroke ( CONNECTION_LINE_BACKGROUND_STROKE ) ; } g2 . draw ( connector ) ; } } }
target:  Draws the connections background (round pipe) for the given ports.