Package | Description |
---|---|
org.girod.jgraphml |
This main package of the library.
|
org.girod.jgraphml.app |
A testing application for the library.
|
org.girod.jgraphml.layout |
This package contains one factory class allowing to simplify applying layouts to
GraphMLDiagram graphs. |
org.girod.jgraphml.model |
This package contains the graphml model classes.
|
org.girod.jgraphml.reader |
This package contains a class which is able to parse a graphml file.
|
org.girod.jgraphml.utils |
This package contains a class which have some layout utilities for the library.
|
org.girod.jgraphml.writer |
This package contains a class which is able to serialize a graphml file.
|
Modifier and Type | Method and Description |
---|---|
GraphMLDiagram |
GraphMLFactory.newDiagram()
Creates a new diagram.
|
GraphMLDiagram |
GraphMLFactory.newDiagram(DiagramDefaults defaults)
Creates a new diagram, with custom defaults.
|
GraphMLDiagram |
GraphMLFactory.openDiagram(java.io.File file)
Open a graphml diagram.
|
GraphMLDiagram |
GraphMLFactory.openDiagram(java.io.File file,
DiagramDefaults defaults)
Open a graphml diagram.
|
GraphMLDiagram |
GraphMLFactory.openDiagram(java.net.URL url)
Open a graphml diagram.
|
GraphMLDiagram |
GraphMLFactory.openDiagram(java.net.URL url,
DiagramDefaults defaults)
Open a graphml diagram.
|
Modifier and Type | Method and Description |
---|---|
void |
GraphMLFactory.saveDiagram(GraphMLDiagram diagram,
java.io.File file)
Save a diagram.
|
void |
GraphMLFactory.saveDiagram(GraphMLDiagram diagram,
java.net.URL url)
Save a diagram.
|
Modifier and Type | Method and Description |
---|---|
GraphMLDiagram |
Script.apply() |
Modifier and Type | Method and Description |
---|---|
void |
GraphMLLayoutFactory.layout(GraphMLDiagram diagram,
Layout<IGraphMLNode,GraphMLEdge> layout)
Apply a layout on a default size.
|
void |
GraphMLLayoutFactory.layout(GraphMLDiagram diagram,
Layout<IGraphMLNode,GraphMLEdge> layout,
boolean updateEdges)
Apply a layout on a default size.
|
void |
GraphMLLayoutFactory.layout(GraphMLDiagram diagram,
Layout<IGraphMLNode,GraphMLEdge> layout,
boolean updateEdges,
java.awt.Dimension size)
Apply a layout.
|
void |
GraphMLLayoutFactory.layout(GraphMLDiagram diagram,
Layout<IGraphMLNode,GraphMLEdge> layout,
java.awt.Dimension size)
Apply a layout.
|
Modifier and Type | Method and Description |
---|---|
GraphMLDiagram |
GraphMLDiagram.clone() |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<java.lang.String,java.util.List<GraphMLEdge>> |
Utilities.getAllEdgesByLabel(GraphMLDiagram diagram)
Return all the edges by their label if it exists.
|
static java.util.Map<java.lang.String,java.util.List<IGraphMLNode>> |
Utilities.getAllNodesByLabel(GraphMLDiagram diagram)
Return the nodes by their label if it exists.
|
static java.util.Map<java.lang.String,GraphMLEdge> |
Utilities.getEdgesByID(GraphMLDiagram diagram)
Return the edges by their id.
|
static java.util.Map<java.lang.String,GraphMLEdge> |
Utilities.getEdgesByLabel(GraphMLDiagram diagram)
Return the edges by their label if it exists.
|
static java.util.Map<java.lang.String,IGraphMLNode> |
Utilities.getNodesByLabel(GraphMLDiagram diagram)
Return the nodes by their label if it exists.
|
Modifier and Type | Method and Description |
---|---|
GraphMLDiagram |
GraphmlModelParser.getDiagram()
Return the parsed diagram.
|
Modifier and Type | Method and Description |
---|---|
static void |
LayoutUtilities.layoutEdges(GraphMLDiagram diagram)
Layout the edges between nodes such that the edges are evenly distributed along the edges of their nodes.
|
Constructor and Description |
---|
GraphmlModelWriter(GraphMLDiagram diagram) |
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence