GraphmlFactory factory = GraphmlFactory.getInstance();
GraphmlFactory factory = GraphmlFactory.getInstance(); GraphmlDiagram diagram = factory.newDiagram();If you want to use custom defaults when creating the diagram, you can perform either:
GraphmlDiagram diagram = factory.newDiagram(defaults);or:
GraphmlDiagram diagram = factory.newDiagram(); diagram.setDefaults(defaults);
GraphmlFactory factory = GraphmlFactory.getInstance(); GraphmlDiagram diagram = factory.openDiagram(file);
graphml
file:GraphmlFactory factory = GraphmlFactory.getInstance(); factory.saveDiagram(diagram, file);
Copyright 2021 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence