/** * Adds the specified JGraphT vertex to be reflected by this graph model. To be called only for * edges that already exist in the JGraphT graph. * * @param jtVertex a JGraphT vertex to be reflected by this graph model. */ void handleJGraphTAddedVertex(V jtVertex) { DefaultGraphCell vertexCell = cellFactory.createVertexCell(jtVertex); vertexCell.add(new DefaultPort()); vertexToCell.put(jtVertex, vertexCell); cellToVertex.put(vertexCell, jtVertex); internalInsertCell(vertexCell, createVertexAttributeMap(vertexCell), null); }