| Package | Description | 
|---|---|
| org.girod.jgraphml.layout | This package contains one factory class allowing to simplify applying layouts to  
   GraphMLDiagramgraphs. | 
| org.girod.jgraphml.model | This package contains the graphml model classes. | 
| org.girod.jgraphml.model.templates | This package contains the graphml template classes. | 
| 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 | Field and Description | 
|---|---|
| protected java.util.SortedMap<java.lang.String,GraphMLEdge> | AbstractGraphMLDiagram. edgesThe edges. | 
| Modifier and Type | Method and Description | 
|---|---|
| GraphMLEdge | AbstractGraphMLDiagram. addEdge(IGraphMLNode source,
       IGraphMLNode target)Add an edge from a source to a target. | 
| GraphMLEdge | GraphMLDiagram. addEdge(IGraphMLNode source,
       IGraphMLNode target)Add an edge from a source to a target. | 
| GraphMLEdge | AbstractGraphMLNode. addEdgeFrom(IGraphMLNode source)Add an edge from another node to this one. | 
| GraphMLEdge | IGraphMLNode. addEdgeFrom(IGraphMLNode source)Add an edge from another node to this one. | 
| GraphMLEdge | AbstractGraphMLDiagram. addEdgeFromTemplate(IGraphMLNode source,
                   IGraphMLNode target,
                   java.lang.String id)Add an edge from a source to a target, using a template. | 
| GraphMLEdge | GraphMLDiagram. addEdgeFromTemplate(IGraphMLNode source,
                   IGraphMLNode target,
                   java.lang.String id)Add an edge from a source to a target, using a template. | 
| GraphMLEdge | AbstractGraphMLNode. addEdgeTo(IGraphMLNode target)Add an edge from this node to another one. | 
| GraphMLEdge | IGraphMLNode. addEdgeTo(IGraphMLNode target)Add an edge from this node to another one. | 
| GraphMLEdge | GraphMLDiagram. addEdgeWithLabel(IGraphMLNode source,
                IGraphMLNode target,
                java.lang.String text)Add an edge from a source to a target, with a specified text. | 
| GraphMLEdge | GraphMLEdge. 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<GraphMLEdge>> | Utilities. getAllFromEdgesByLabel(GraphMLNode node)Return the edges originating from other nodes, if they have a label. | 
| static java.util.Map<java.lang.String,java.util.List<GraphMLEdge>> | Utilities. getAllToEdgesByLabel(GraphMLNode node)Return the edges originating from a node, if they have a label. | 
| java.util.SortedMap<java.lang.String,GraphMLEdge> | AbstractGraphMLDiagram. getEdges()Return the edges. | 
| java.util.Collection<GraphMLEdge> | AbstractGraphMLDiagram. getEdges(EdgeType edgeType)Returns the collection of edges in this graph which are of type  edgeType. | 
| 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. | 
| java.util.Collection<GraphMLEdge> | AbstractGraphMLDiagram. getEdgesView()Returns a view of all edges in this graph. | 
| java.util.Map<java.lang.String,java.util.List<GraphMLEdge>> | AbstractGraphMLNode. getFromEdges()Return the Map of edges originating from other nodes. | 
| java.util.Map<java.lang.String,java.util.List<GraphMLEdge>> | IGraphMLNode. getFromEdges()Return the Map of edges originating from other nodes. | 
| static java.util.Map<java.lang.String,GraphMLEdge> | Utilities. getFromEdgesByLabel(GraphMLNode node)Return the edges originating from other nodes, if they have a label. | 
| java.util.Collection<GraphMLEdge> | AbstractGraphMLDiagram. getIncidentEdges(IGraphMLNode vertex)Returns the collection of edges in this graph which are connected to  vertex. | 
| java.util.Collection<GraphMLEdge> | AbstractGraphMLDiagram. getInEdges(IGraphMLNode vertex)Returns a  Collectionview of the incoming edges incident tovertexin this graph. | 
| java.util.Collection<GraphMLEdge> | AbstractGraphMLDiagram. getOutEdges(IGraphMLNode vertex)Returns a  Collectionview of the outgoing edges incident tovertexin this graph. | 
| java.util.Map<java.lang.String,java.util.List<GraphMLEdge>> | AbstractGraphMLNode. getToEdges()Return the Map of edges originating from this node. | 
| java.util.Map<java.lang.String,java.util.List<GraphMLEdge>> | IGraphMLNode. getToEdges()Return the Map of edges originating from this node. | 
| static java.util.Map<java.lang.String,GraphMLEdge> | Utilities. getToEdgesByLabel(GraphMLNode node)Return the edges originating from a node, if they have a label. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | AbstractGraphMLDiagram. addEdge(GraphMLEdge edge,
       IGraphMLNode source,
       IGraphMLNode target)Add an edge from a source to a target. | 
| boolean | GraphMLDiagram. addEdge(GraphMLEdge edge,
       IGraphMLNode source,
       IGraphMLNode target)Add an edge from a source to a target. | 
| boolean | AbstractGraphMLDiagram. addEdgeWithEndpoints(GraphMLEdge edge,
                    Pair<? extends IGraphMLNode> endpoints,
                    EdgeType edgeType)Add an edgeto this graph with the specified endpoints and EdgeType. | 
| boolean | AbstractGraphMLNode. addFromEdge(GraphMLEdge edge)Add an edge originating from another node. | 
| boolean | IGraphMLNode. addFromEdge(GraphMLEdge edge)Add an edge originating from another node. | 
| boolean | AbstractGraphMLNode. addToEdge(GraphMLEdge edge)Add an edge originating from this node. | 
| boolean | IGraphMLNode. addToEdge(GraphMLEdge edge)Add an edge originating from this node. | 
| boolean | AbstractGraphMLDiagram. containsEdge(GraphMLEdge edge)Returns true if this graph's edge collection contains  edge. | 
| IGraphMLNode | AbstractGraphMLDiagram. getDest(GraphMLEdge edge)If  directed_edgeis a directed edge in this graph, returns the destination; otherwise returnsnull. | 
| EdgeType | AbstractGraphMLDiagram. getEdgeType(GraphMLEdge edge)Returns the edge type of  edgein this graph. | 
| Pair<IGraphMLNode> | AbstractGraphMLDiagram. getEndpoints(GraphMLEdge edge)Returns the endpoints of  edgeas aPair<V>. | 
| IGraphMLNode | AbstractGraphMLDiagram. getSource(GraphMLEdge edge)If  directed_edgeis a directed edge in this graph, returns the source; otherwise returnsnull. | 
| boolean | AbstractGraphMLDiagram. isDest(IGraphMLNode vertex,
      GraphMLEdge edge)Returns  trueifvertexis the destination ofedge. | 
| boolean | AbstractGraphMLDiagram. isSource(IGraphMLNode vertex,
        GraphMLEdge edge)Returns  trueifvertexis the source ofedge. | 
| boolean | AbstractGraphMLDiagram. removeEdge(GraphMLEdge edge)Removes  edgefrom this graph. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | GraphMLEdgeTemplateA graphml edge template. | 
| Modifier and Type | Method and Description | 
|---|---|
| GraphMLEdge | GraphMLEdgeTemplate. createEdge(AbstractGraphMLDiagram diagram,
          java.lang.String id)Create an edge from this template. | 
Copyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence