/ Published in: Java
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
DefaultGraphCell cell = new DefaultGraphCell(name); DefaultPort port = new DefaultPort(); cell.add(port); graph.getGraphLayoutCache().insert(cell);