384385386387388389390391392393394
} for (Edge edge : parent.outgoingEdgesOf(vertex)) { String port = (String) edge .getValue(ObjectType.PARAMETER_SOURCE_PORT); figure.addOutputPort(port); } figure.adjustSize(); vertex.setValue(Vertex.PROPERTY_SIZE, figure.getBounds().getCopy()); }