newxxxLayout()
methods allow to crate one of the layout in the libraryGraphmlFactory factory = GraphmlFactory.getInstance(); GraphmlDiagram diagram = factory.newDiagram(); // add nodes to the diagram // .. // GraphMLLayoutFactory lfactory = GraphMLLayoutFactory.getInstance(); FRLayout layout = lfactory.newFRLayout(); lfactory.layout(diagram, layout);
FRLayout
, but with the same objectiveSpringLayout
algorithmJGraphml-layout.jar
jar file in your classpath.Copyright 2021 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence