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 NodeNode.Builder. buildNode()Creates a newNode, setting the values specified via thisNode.Builder.protected NodeGraphCopier. copyNode(Node node)Creates a copy of the given node.protected NodeGraph.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.NodeGraph. getNestingNode()NodeEdge. getSource()NodeEdge. 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 NodeGraphCopier. copyNode(Node node)Creates a copy of the given node.Graph.BuilderGraph.Builder. nodes(Node... nodes)voidGraph. setNestingNode(Node nestingNode)voidEdge. setSource(Node source)voidEdge. setTarget(Node target)protected voidGraphCopier. 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.BuilderNode.Builder. attr(java.util.function.BiConsumer<Node,T> setter, T value)Uses the given setter to set the attribute value.Graph.BuilderGraph.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 newGraphfrom 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 newGraphfrom the given attributes, nodes, and edgesProperty.
-