Uses of Interface
org.graphstream.graph.Node
| Package | Description |
|---|---|
| org.graphstream.graph | |
| org.graphstream.graph.implementations | |
| org.graphstream.ui.graphicGraph |
-
Uses of Node in org.graphstream.graph
Classes in org.graphstream.graph with type parameters of type Node Modifier and Type Interface Description interfaceNodeFactory<T extends Node>An interface aimed at dynamically creating node objects.Methods in org.graphstream.graph with type parameters of type Node Modifier and Type Method Description <T extends Node>
Collection<T>Path. getNodeSet()Methods in org.graphstream.graph that return Node Modifier and Type Method Description NodeGraph. addNode(String id)Add a node in the graph.NodeGraph. getNode(int index)Get a node by its index.NodeGraph. getNode(String id)Get a node by its identifier.NodeEdge. getNode0()First node of the edge.NodeEdge. getNode1()Second node of the edge.NodeEdge. getOpposite(Node node)When knowing one node and one edge of this node, this method return the node at the other end of the edge.NodePath. getRoot()Get the root (the first node) of the path.NodeEdge. getSourceNode()Start node.NodeEdge. getTargetNode()End node.NodeBreadthFirstIterator. next()NodeDepthFirstIterator. next()NodePath. peekNode()Looks at the node at the top of the stack without removing it from the stack.NodePath. popNode()This methods pops the 2 stacks (edgePathandnodePath) and returns the removed node.default NodeGraph. removeNode(int index)Removes a node with a given index.default NodeGraph. removeNode(String id)Remove a node using its identifier.NodeGraph. removeNode(Node node)Removes a node.Methods in org.graphstream.graph that return types with arguments of type Node Modifier and Type Method Description Iterator<Node>Node. getBreadthFirstIterator()Iterator for breadth first exploration of the graph, starting at this node.Iterator<Node>Node. getBreadthFirstIterator(boolean directed)Iterator for breadth first exploration of the graph, starting at this node.Iterator<Node>Node. getDepthFirstIterator()Iterator for depth first exploration of the graph, starting at this node.Iterator<Node>Node. getDepthFirstIterator(boolean directed)Iterator for depth first exploration of the graph, starting at this node.List<Node>Path. getNodePath()Construct an return a list of nodes that represents the path.default Stream<Node>Node. neighborNodes()Stream over neighbor nodes connected to this node via one or more edges.NodeFactory<? extends Node>Graph. nodeFactory()The factory used to create node instances.Stream<Node>Path. nodes()Stream<Node>Structure. nodes()Methods in org.graphstream.graph with parameters of type Node Modifier and Type Method Description voidPath. add(Node from, Edge edge)Adds a node and an edge to the path.default EdgeGraph. addEdge(String id, Node node1, Node node2)LikeGraph.addEdge(String, String, String)but the node references are given instead of node identifiers.EdgeGraph. addEdge(String id, Node from, Node to, boolean directed)LikeGraph.addEdge(String, String, String, boolean)but the node references are given instead of node identifiers.booleanPath. contains(Node node)Says whether the path contains this node or not.intBreadthFirstIterator. getDepthOf(Node node)intDepthFirstIterator. getDepthOf(Node node)EdgeNode. getEdgeBetween(Node node)Retrieves an edge between this node and and another node if one exists.EdgeNode. getEdgeFrom(Node node)Retrieves an edge that leaves given node toward this node.EdgeNode. getEdgeToward(Node node)Retrieves an edge that leaves this node toward another node.NodeEdge. getOpposite(Node node)When knowing one node and one edge of this node, this method return the node at the other end of the edge.default booleanNode. hasEdgeBetween(Node node)True if an edge exists between this node and another node.default booleanNode. hasEdgeFrom(Node node)True if an edge enters this node from a given node.default booleanNode. hasEdgeToward(Node node)True if an edge leaves this node toward a given node.TEdgeFactory. newInstance(String id, Node src, Node dst, boolean directed)Create a new instance of edge.voidPath. push(Node from, Edge edge)A synonym forPath.add(Edge).EdgeGraph. removeEdge(Node node1, Node node2)Removes an edge between two nodes.NodeGraph. removeNode(Node node)Removes a node.voidPath. setRoot(Node root)Set the root (first node) of the path.booleanBreadthFirstIterator. tabu(Node node)booleanDepthFirstIterator. tabu(Node node)Method parameters in org.graphstream.graph with type arguments of type Node Modifier and Type Method Description voidGraph. setNodeFactory(NodeFactory<? extends Node> nf)Set the node factory used to create nodes.Constructors in org.graphstream.graph with parameters of type Node Constructor Description BreadthFirstIterator(Node startNode)BreadthFirstIterator(Node startNode, boolean directed)DepthFirstIterator(Node startNode)DepthFirstIterator(Node startNode, boolean directed) -
Uses of Node in org.graphstream.graph.implementations
Classes in org.graphstream.graph.implementations that implement Node Modifier and Type Class Description classAbstractNodeThis class provides a basic implementation ofNodeinterface, to minimize the effort required to implement this interface.classAdjacencyListNodeNodes used withAdjacencyListGraphclassMultiNodeNodes used withMultiGraphclassSingleNodeNodes used withSingleGraphMethods in org.graphstream.graph.implementations that return Node Modifier and Type Method Description NodeAbstractGraph. addNode(String id)NodeAdjacencyListGraph. getNode(int index)NodeAdjacencyListGraph. getNode(String id)NodeAbstractEdge. getNode0()NodeAbstractEdge. getNode1()NodeAbstractEdge. getOpposite(Node node)NodeAbstractEdge. getSourceNode()NodeAbstractEdge. getTargetNode()NodeAbstractGraph. removeNode(Node node)Methods in org.graphstream.graph.implementations that return types with arguments of type Node Modifier and Type Method Description Iterator<Node>AbstractNode. getBreadthFirstIterator()This implementation creates an instance ofBreadthFirstIteratorand returns it.Iterator<Node>AbstractNode. getBreadthFirstIterator(boolean directed)This implementation creates an instance ofBreadthFirstIteratorand returns it.Iterator<Node>AbstractNode. getDepthFirstIterator()This implementation creates an instance ofDepthFirstIteratorand returns it.Iterator<Node>AbstractNode. getDepthFirstIterator(boolean directed)This implementation creates an instance ofDepthFirstIteratorand returns it.Iterator<Node>AbstractGraph. iterator()This implementation returns an iterator over nodes.NodeFactory<? extends Node>AbstractGraph. nodeFactory()Stream<Node>AdjacencyListGraph. nodes()Methods in org.graphstream.graph.implementations with parameters of type Node Modifier and Type Method Description EdgeAbstractGraph. addEdge(String id, Node from, Node to, boolean directed)EdgeAdjacencyListNode. getEdgeBetween(Node node)EdgeAdjacencyListNode. getEdgeFrom(Node node)<T extends Edge>
Collection<T>MultiNode. getEdgeSetBetween(Node node)EdgeAdjacencyListNode. getEdgeToward(Node node)NodeAbstractEdge. getOpposite(Node node)EdgeAbstractGraph. removeEdge(Node node1, Node node2)NodeAbstractGraph. removeNode(Node node)Method parameters in org.graphstream.graph.implementations with type arguments of type Node Modifier and Type Method Description voidAbstractGraph. setNodeFactory(NodeFactory<? extends Node> nf) -
Uses of Node in org.graphstream.ui.graphicGraph
Classes in org.graphstream.ui.graphicGraph that implement Node Modifier and Type Class Description classGraphicNodeGraphical node.Methods in org.graphstream.ui.graphicGraph that return Node Modifier and Type Method Description NodeGraphicGraph. addNode(String id)NodeGraphicGraph. getNode(int index)NodeGraphicGraph. getNode(String id)NodeStyleGroupSet. getNode(String id)Get a node element knowing its identifier.NodeGraphicEdge. getNode0()NodeGraphicEdge. getNode1()NodeGraphicEdge. getOpposite(Node node)NodeGraphicEdge. getSourceNode()NodeGraphicEdge. getTargetNode()NodeGraphicGraph. removeNode(int index)NodeGraphicGraph. removeNode(String id)NodeGraphicGraph. removeNode(Node node)Methods in org.graphstream.ui.graphicGraph that return types with arguments of type Node Modifier and Type Method Description Iterator<Node>GraphicNode. getBreadthFirstIterator()Not implemented.Iterator<Node>GraphicNode. getBreadthFirstIterator(boolean directed)Not implemented.Iterator<Node>GraphicNode. getDepthFirstIterator()Not implemented.Iterator<Node>GraphicNode. getDepthFirstIterator(boolean directed)Not implemented.Iterator<? extends Node>StyleGroupSet. getNodeIterator()Iterator on the set of nodes.Iterator<Node>GraphicGraph. iterator()NodeFactory<? extends Node>GraphicGraph. nodeFactory()Stream<Node>GraphicGraph. nodes()Stream<Node>StyleGroupSet. nodes()Methods in org.graphstream.ui.graphicGraph with parameters of type Node Modifier and Type Method Description EdgeGraphicGraph. addEdge(String id, Node node1, Node node2)EdgeGraphicGraph. addEdge(String id, Node from, Node to, boolean directed)EdgeGraphicNode. getEdgeBetween(Node Node)EdgeGraphicNode. getEdgeFrom(Node Node)EdgeGraphicNode. getEdgeToward(Node Node)NodeGraphicEdge. getOpposite(Node node)StyleGroupStyleGroupSet. getStyleFor(Node node)Get the style of a given node.static Point3GraphPosLengthUtils. nodePointPosition(Node node)LikeGraphPosLengthUtils.nodePointPosition(Graph,String)but use an existing node as argument.static double[]GraphPosLengthUtils. nodePosition(Node node)LikeGraphPosLengthUtils.nodePosition(Graph,String)but use an existing node as argument.static voidGraphPosLengthUtils. nodePosition(Node node, double[] xyz)LikeGraphPosLengthUtils.nodePosition(Graph,String,double[])but use an existing node as argument.static Point3GraphPosLengthUtils. nodePosition(Node node, Point3 pos)LikeGraphPosLengthUtils.nodePosition(Graph,String,Point3)but use an existing node as argument.EdgeGraphicGraph. removeEdge(Node node1, Node node2)NodeGraphicGraph. removeNode(Node node)Method parameters in org.graphstream.ui.graphicGraph with type arguments of type Node Modifier and Type Method Description voidGraphicGraph. setNodeFactory(NodeFactory<? extends Node> nf)