Uses of Interface
org.graphstream.graph.Edge
| Package | Description |
|---|---|
| org.graphstream.graph | |
| org.graphstream.graph.implementations | |
| org.graphstream.ui.graphicGraph |
-
Uses of Edge in org.graphstream.graph
Classes in org.graphstream.graph with type parameters of type Edge Modifier and Type Interface Description interfaceEdgeFactory<T extends Edge>An interface aimed at dynamically creating edge objects.Methods in org.graphstream.graph with type parameters of type Edge Modifier and Type Method Description <T extends Edge>
Collection<T>Path. getEdgeSet()Methods in org.graphstream.graph that return Edge Modifier and Type Method Description default EdgeGraph. addEdge(String id, int index1, int index2)LikeGraph.addEdge(String, String, String)but the nodes are identified by their indices.default EdgeGraph. addEdge(String id, int fromIndex, int toIndex, boolean directed)LikeGraph.addEdge(String, String, String, boolean)but the nodes are identified by their indices.default EdgeGraph. addEdge(String id, String node1, String node2)Adds an undirected edge between nodes.default EdgeGraph. addEdge(String id, String from, String to, boolean directed)LikeGraph.addEdge(String, String, String), but this edge can be directed between the two given nodes.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.EdgeGraph. getEdge(int index)Get an edge by its index.EdgeGraph. getEdge(String id)Get an edge by its identifier.EdgeNode. getEdge(int i)I-th edge.EdgeNode. getEdgeBetween(int index)Retrieves an edge between this node and the node with index i if one exists.EdgeNode. getEdgeBetween(String id)Retrieve an edge between this node and the node 'id', if it exits.EdgeNode. getEdgeBetween(Node node)Retrieves an edge between this node and and another node if one exists.EdgeNode. getEdgeFrom(int index)Retrieves an edge that leaves node with given index toward this node.EdgeNode. getEdgeFrom(String id)Retrieve an edge that leaves node 'id' toward this node.EdgeNode. getEdgeFrom(Node node)Retrieves an edge that leaves given node toward this node.EdgeNode. getEdgeToward(int index)Retrieves an edge that leaves this node toward the node with given index.EdgeNode. getEdgeToward(String id)Retrieve an edge that leaves this node toward 'id'.EdgeNode. getEdgeToward(Node node)Retrieves an edge that leaves this node toward another node.EdgeNode. getEnteringEdge(int i)I-th entering edge.EdgeNode. getLeavingEdge(int i)I-th leaving edge.EdgePath. peekEdge()Looks at the edge at the top of the stack without removing it from the stack.EdgePath. popEdge()This methods pops the 2 stacks (edgePathandnodePath) and returns the removed edge.default EdgeGraph. removeEdge(int index)Removes an edge with a given index.default EdgeGraph. removeEdge(int fromIndex, int toIndex)Removes an edge between two nodes.default EdgeGraph. removeEdge(String id)Removes an edge knowing its identifier.default EdgeGraph. removeEdge(String from, String to)Remove an edge given the identifiers of its two endpoints.EdgeGraph. removeEdge(Edge edge)Removes an edge.EdgeGraph. removeEdge(Node node1, Node node2)Removes an edge between two nodes.Methods in org.graphstream.graph that return types with arguments of type Edge Modifier and Type Method Description EdgeFactory<? extends Edge>Graph. edgeFactory()The factory used to create edge instances.Stream<Edge>Node. edges()Stream over all entering and leaving edges.Stream<Edge>Path. edges()Stream<Edge>Structure. edges()default Stream<Edge>Node. enteringEdges()Stream over all entering edges.List<Edge>Path. getEdgePath()Returns the list of edges representing the path.default Iterator<Edge>Node. iterator()default Stream<Edge>Node. leavingEdges()Stream over all leaving edges.Methods in org.graphstream.graph with parameters of type Edge Modifier and Type Method Description voidPath. add(Edge edge)Adds an edge to the path.voidPath. add(Node from, Edge edge)Adds a node and an edge to the path.booleanPath. contains(Edge edge)Says whether the path contains this edge or not.voidPath. push(Edge edge)A synonym forPath.add(Edge).voidPath. push(Node from, Edge edge)A synonym forPath.add(Edge).EdgeGraph. removeEdge(Edge edge)Removes an edge.Method parameters in org.graphstream.graph with type arguments of type Edge Modifier and Type Method Description voidGraph. setEdgeFactory(EdgeFactory<? extends Edge> ef)Set the edge factory used to create edges. -
Uses of Edge in org.graphstream.graph.implementations
Classes in org.graphstream.graph.implementations that implement Edge Modifier and Type Class Description classAbstractEdgeThis class provides a basic implementation ofEdgeinterface, to minimize the effort required to implement this interface.Methods in org.graphstream.graph.implementations with type parameters of type Edge Modifier and Type Method Description <T extends Edge>
Collection<T>MultiNode. getEdgeSetBetween(int index)<T extends Edge>
Collection<T>MultiNode. getEdgeSetBetween(String id)<T extends Edge>
Collection<T>MultiNode. getEdgeSetBetween(Node node)Methods in org.graphstream.graph.implementations that return Edge Modifier and Type Method Description EdgeAbstractGraph. addEdge(String id, Node from, Node to, boolean directed)EdgeAdjacencyListGraph. getEdge(int index)EdgeAdjacencyListGraph. getEdge(String id)EdgeAdjacencyListNode. getEdge(int i)EdgeAbstractNode. getEdgeBetween(int index)This implementation usesNode.getEdgeBetween(Node)EdgeAbstractNode. getEdgeBetween(String id)This implementation usesNode.getEdgeBetween(Node)EdgeAdjacencyListNode. getEdgeBetween(Node node)EdgeAbstractNode. getEdgeFrom(int index)This implementation usesNode.getEdgeFrom(Node)EdgeAbstractNode. getEdgeFrom(String id)This implementation usesNode.getEdgeFrom(Node)EdgeAdjacencyListNode. getEdgeFrom(Node node)EdgeAbstractNode. getEdgeToward(int index)This implementation usesNode.getEdgeToward(Node)EdgeAbstractNode. getEdgeToward(String id)This implementation usesNode.getEdgeToward(Node)EdgeAdjacencyListNode. getEdgeToward(Node node)EdgeAdjacencyListNode. getEnteringEdge(int i)EdgeAdjacencyListNode. getLeavingEdge(int i)EdgeAbstractGraph. removeEdge(Edge edge)EdgeAbstractGraph. removeEdge(Node node1, Node node2)Methods in org.graphstream.graph.implementations that return types with arguments of type Edge Modifier and Type Method Description EdgeFactory<? extends Edge>AbstractGraph. edgeFactory()Stream<Edge>AdjacencyListGraph. edges()Stream<Edge>AdjacencyListNode. edges()Stream<Edge>AdjacencyListNode. enteringEdges()Stream<Edge>AdjacencyListNode. leavingEdges()Methods in org.graphstream.graph.implementations with parameters of type Edge Modifier and Type Method Description booleanAbstractNode. isEnteringEdge(Edge e)Checks if an edge enters this node.booleanAbstractNode. isIncidentEdge(Edge e)Checks if an edge is incident to this node.booleanAbstractNode. isLeavingEdge(Edge e)Checks if an edge leaves this node.EdgeAbstractGraph. removeEdge(Edge edge)Method parameters in org.graphstream.graph.implementations with type arguments of type Edge Modifier and Type Method Description voidAbstractGraph. setEdgeFactory(EdgeFactory<? extends Edge> ef) -
Uses of Edge in org.graphstream.ui.graphicGraph
Classes in org.graphstream.ui.graphicGraph that implement Edge Modifier and Type Class Description classGraphicEdgeGraphical edge.Methods in org.graphstream.ui.graphicGraph that return Edge Modifier and Type Method Description EdgeGraphicGraph. addEdge(String id, int index1, int index2)EdgeGraphicGraph. addEdge(String id, int fromIndex, int toIndex, boolean directed)EdgeGraphicGraph. addEdge(String id, String from, String to, boolean directed)EdgeGraphicGraph. addEdge(String id, Node node1, Node node2)EdgeGraphicGraph. addEdge(String id, Node from, Node to, boolean directed)EdgeGraphicGraph. getEdge(int index)EdgeGraphicGraph. getEdge(String id)EdgeGraphicNode. getEdge(int i)EdgeStyleGroupSet. getEdge(String id)Get an edge element knowing its identifier.EdgeGraphicNode. getEdgeBetween(int index)EdgeGraphicNode. getEdgeBetween(String id)EdgeGraphicNode. getEdgeBetween(Node Node)EdgeGraphicNode. getEdgeFrom(int index)EdgeGraphicNode. getEdgeFrom(String id)EdgeGraphicNode. getEdgeFrom(Node Node)EdgeGraphicNode. getEdgeToward(int index)EdgeGraphicNode. getEdgeToward(String id)EdgeGraphicNode. getEdgeToward(Node Node)EdgeGraphicNode. getEnteringEdge(int i)EdgeGraphicNode. getLeavingEdge(int i)EdgeGraphicGraph. removeEdge(int index)EdgeGraphicGraph. removeEdge(int fromIndex, int toIndex)EdgeGraphicGraph. removeEdge(String id)EdgeGraphicGraph. removeEdge(String from, String to)EdgeGraphicGraph. removeEdge(Edge edge)EdgeGraphicGraph. removeEdge(Node node1, Node node2)Methods in org.graphstream.ui.graphicGraph that return types with arguments of type Edge Modifier and Type Method Description EdgeFactory<? extends Edge>GraphicGraph. edgeFactory()Stream<Edge>GraphicGraph. edges()Stream<Edge>GraphicNode. edges()Stream<Edge>StyleGroupSet. edges()Iterator<? extends Edge>StyleGroupSet. getEdgeIterator()Iterator on the set of edges.Iterator<Edge>GraphicNode. iterator()Methods in org.graphstream.ui.graphicGraph with parameters of type Edge Modifier and Type Method Description static doubleGraphPosLengthUtils. edgeLength(Edge edge)LikeGraphPosLengthUtils.edgeLength(Graph,String)but use an existing edge as argument.StyleGroupStyleGroupSet. getStyleFor(Edge edge)Get the style of a given edge.EdgeGraphicGraph. removeEdge(Edge edge)Method parameters in org.graphstream.ui.graphicGraph with type arguments of type Edge Modifier and Type Method Description voidGraphicGraph. setEdgeFactory(EdgeFactory<? extends Edge> ef)