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(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 |
---|---|
Set<Node> |
Node.getAllNeighbors()
Returns all neighbors of this
Node . |
Set<Node> |
Node.getAllPredecessorNodes()
|
Set<Node> |
Node.getAllSuccessorNodes()
|
Map<Node,Node> |
GraphCopier.getInputToOutputNodeMap()
|
Map<Node,Node> |
GraphCopier.getInputToOutputNodeMap()
|
Set<Node> |
Node.getNeighbors()
Returns all (local) neighbors of this
Node , i.e. the union of the
getPredecessorNodes() and getSuccessorNodes() . |
javafx.collections.ObservableList<Node> |
Graph.getNodes()
Returns the nodes of this Graph.
|
Set<Node> |
Node.getPredecessorNodes()
|
Set<Node> |
Node.getSuccessorNodes()
|
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 |
---|---|
<T> Node.Builder |
Node.Builder.attr(BiConsumer<Node,T> setter,
T value)
Uses the given setter to set the attribute value.
|
Graph.Builder |
Graph.Builder.nodes(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(Map<String,Object> attributes,
Node source,
Node target)
|
Edge(Node source,
Node target)
|
Constructor and Description |
---|
Graph(Collection<? extends Node> nodes,
Collection<? extends Edge> edges)
Constructs a new
Graph from the given nodes, and edges but empty
attributes. |
Graph(Map<String,Object> attributes,
Collection<? extends Node> nodes,
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.