Modifier and Type | Method and Description |
---|---|
Node |
Node.Builder.buildNode()
Creates a new
Node , setting the values specified via this
Node.Builder . |
protected Node |
GraphCopier.copyNode(Node node)
Creates a copy of the given node.
|
protected Node |
Graph.Builder.findOrCreateNode(java.lang.Object key)
Retrieves the node already created by a builder for the given key, or
creates a new one via the respective
Node.Builder . |
Node |
Graph.getNestingNode()
|
Node |
Edge.getSource()
|
Node |
Edge.getTarget()
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Node> |
Node.getAllNeighbors()
Returns all neighbors of this
Node . |
java.util.Set<Node> |
Node.getAllPredecessorNodes()
|
java.util.Set<Node> |
Node.getAllSuccessorNodes()
|
java.util.Set<Node> |
Node.getLocalNeighbors()
Returns all (local) neighbors of this
Node , i.e. the union of the
getLocalPredecessorNodes() and getLocalSuccessorNodes()
. |
java.util.Set<Node> |
Node.getLocalPredecessorNodes()
|
java.util.Set<Node> |
Node.getLocalSuccessorNodes()
|
javafx.collections.ObservableList<Node> |
Graph.getNodes()
Returns the nodes of this Graph.
|
javafx.beans.property.ReadOnlyListProperty<Node> |
Graph.nodesProperty()
|
Modifier and Type | Method and Description |
---|---|
protected Node |
GraphCopier.copyNode(Node node)
Creates a copy of the given node.
|
Graph.Builder |
Graph.Builder.nodes(Node... nodes)
|
void |
Graph.setNestingNode(Node nestingNode)
|
void |
Edge.setSource(Node source)
|
void |
Edge.setTarget(Node target)
|
Modifier and Type | Method and Description |
---|---|
Graph.Builder |
Graph.Builder.nodes(java.util.Collection<Node> nodes)
|
Constructor and Description |
---|
Builder(Node sourceNode,
Node targetNode)
Constructs a new (anonymous) context-free
Edge.Builder , which
can only be used to construct a single edge via Edge.Builder.buildEdge() ,
i.e. which cannot be chained. |
Edge(java.util.Map<java.lang.String,java.lang.Object> attributes,
Node source,
Node target)
|
Edge(Node source,
Node target)
|
Constructor and Description |
---|
Graph(java.util.Map<java.lang.String,java.lang.Object> attributes,
java.util.Collection<? extends Node> nodes,
java.util.Collection<? extends Edge> edges)
Constructs a new
Graph from the given attributes, nodes, and
edgesProperty. |
Copyright (c) 2014 itemis AG and others. All rights reserved.