Uses of Class
org.eclipse.gef.graph.Node
-
-
Uses of Node in org.eclipse.gef.graph
Methods in org.eclipse.gef.graph that return Node Modifier and Type Method Description Node
Node.Builder. buildNode()
Creates a newNode
, setting the values specified via thisNode.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 respectiveNode.Builder
.Node
Graph. getNestingNode()
Node
Edge. getSource()
Node
Edge. getTarget()
Methods in org.eclipse.gef.graph that return types with arguments of type Node Modifier and Type Method Description java.util.Set<Node>
Node. getAllNeighbors()
Returns all neighbors of thisNode
.java.util.Set<Node>
Node. getAllPredecessorNodes()
java.util.Set<Node>
Node. getAllSuccessorNodes()
java.util.Map<Node,Node>
GraphCopier. getInputToOutputNodeMap()
java.util.Map<Node,Node>
GraphCopier. getInputToOutputNodeMap()
java.util.Set<Node>
Node. getNeighbors()
Returns all (local) neighbors of thisNode
, i.e. the union of thegetPredecessorNodes()
andgetSuccessorNodes()
.javafx.collections.ObservableList<Node>
Graph. getNodes()
Returns the nodes of this Graph.java.util.Set<Node>
Node. getPredecessorNodes()
java.util.Set<Node>
Node. getSuccessorNodes()
javafx.beans.property.ReadOnlyListProperty<Node>
Graph. nodesProperty()
Methods in org.eclipse.gef.graph with parameters of type Node Modifier and Type Method 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)
protected void
GraphCopier. trackCopiedNode(Node inputNode, Node outputNode)
Maintains a mapping from the input node to the output node.Method parameters in org.eclipse.gef.graph with type arguments of type Node Modifier and Type Method Description <T> Node.Builder
Node.Builder. attr(java.util.function.BiConsumer<Node,T> setter, T value)
Uses the given setter to set the attribute value.Graph.Builder
Graph.Builder. nodes(java.util.Collection<Node> nodes)
Constructors in org.eclipse.gef.graph with parameters of type Node Constructor Description Builder(Node sourceNode, Node targetNode)
Constructs a new (anonymous) context-freeEdge.Builder
, which can only be used to construct a single edge viaEdge.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 parameters in org.eclipse.gef.graph with type arguments of type Node Constructor Description Graph(java.util.Collection<? extends Node> nodes, java.util.Collection<? extends Edge> edges)
Constructs a newGraph
from the given nodes, and edges but empty attributes.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 newGraph
from the given attributes, nodes, and edgesProperty.
-