if (startTerminal != null) {\r
startConnector = createConnectorForNode(graph, connection, startTerminal, EdgeEnd.Begin, judgment);\r
} else if (createFlags) {\r
- startFlag = createFlag(graph, connection, EdgeEnd.Begin, controlPoints.getFirst(), FlagClass.Type.In);\r
+ startFlag = createFlag(graph, connection, EdgeEnd.Begin, controlPoints.getFirst(), FlagClass.Type.In, "");\r
ArrayList<Terminal> terminals = new ArrayList<Terminal>();\r
ElementUtils.getTerminals(startFlag, terminals, false);\r
Terminal st = terminals.get(1);\r
if(createValve)\r
endFlag = createValveElement(graph, connection, EdgeEnd.End, controlPoints.getLast());\r
else\r
- endFlag = createFlag(graph, connection, EdgeEnd.End, controlPoints.getLast(), FlagClass.Type.Out);\r
+ endFlag = createFlag(graph, connection, EdgeEnd.End, controlPoints.getLast(), FlagClass.Type.Out, "");\r
ArrayList<Terminal> terminals = new ArrayList<Terminal>();\r
ElementUtils.getTerminals(endFlag, terminals, false);\r
Terminal et = terminals.get(0);\r