Uses of Interface
org.gephi.graph.api.Edge
-
Packages that use Edge Package Description org.gephi.datalab.api Data Laboratory API, all capabilites are exposed through various controllers.org.gephi.datalab.spi.edges org.gephi.graph.api Complete API description, whereGraphModel
is the entry point.org.gephi.tools.api API for selecting the current Tool. -
-
Uses of Edge in org.gephi.datalab.api
Methods in org.gephi.datalab.api that return Edge Modifier and Type Method Description Edge
GraphElementsController. createEdge(String id, Node source, Node target, boolean directed)
Creates and edge between source and target node (if it does not already exist), directed or undirected.Edge
GraphElementsController. createEdge(String id, Node source, Node target, boolean directed, Object typeLabel)
Creates and edge between source and target node (if it does not already exist), directed or undirected.Edge
GraphElementsController. createEdge(String id, Node source, Node target, boolean directed, Object typeLabel, Graph graph)
Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.Edge
GraphElementsController. createEdge(String id, Node source, Node target, boolean directed, Graph graph)
Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.Edge
GraphElementsController. createEdge(Node source, Node target, boolean directed)
Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.Edge
GraphElementsController. createEdge(Node source, Node target, boolean directed, Object typeLabel)
Creates and edge between source and target node (if it does not already exist), directed or undirected, in the current graph.Edge
GraphElementsController. createEdge(Node source, Node target, boolean directed, Object typeLabel, Graph graph)
Creates and edge between source and target node (if it does not already exist), directed or undirected.Edge
GraphElementsController. createEdge(Node source, Node target, boolean directed, Graph graph)
Creates and edge between source and target node (if it does not already exist), directed or undirected.Edge[]
SearchReplaceController.SearchOptions. getEdgesToSearch()
Getters and settersEdge
SearchReplaceController.SearchResult. getFoundEdge()
Edge[]
GraphElementsController. getNodeEdges(Node node)
Prepares and returns an array with the edges incident to the specified node.Methods in org.gephi.datalab.api with parameters of type Edge Modifier and Type Method Description boolean
GraphElementsController. areEdgesInGraph(Edge[] edges)
Checks if an array of edges are contained in the main view graph.void
AttributeColumnsController. clearEdgeData(Edge edge, Column[] columnsToClear)
Clears all edge attributes except computed attributes and id.void
AttributeColumnsController. clearEdgesData(Edge[] edges, Column[] columnsToClear)
Clears all the edges attributes except computed attributes and id, checking first that the edges are in the graph.void
AttributeColumnsController. copyEdgeDataToOtherEdges(Edge edge, Edge[] otherEdges, Column[] columnsToCopy)
Copies attributes data of the given edge to the other rows except computed attributes and id.void
GraphElementsController. deleteEdge(Edge edge)
Tries to delete an edge checking first if it is on the graph.void
GraphElementsController. deleteEdges(Edge[] edges)
Tries to delete an array of edges checking first if they are on the graph.void
GraphElementsController. deleteEdgesWithNodes(Edge[] edges, boolean deleteSource, boolean deleteTarget)
Tries to delete an array of edges checking first if they are on the graph and also deletes their source and target node if it is indicated.void
GraphElementsController. deleteEdgeWithNodes(Edge edge, boolean deleteSource, boolean deleteTarget)
Tries to delete an edge checking first if it is on the graph and also deletes its source and target node if it is indicated.void
AttributeColumnsController. fillEdgesColumnWithValue(Edge[] edges, Column column, String value)
Fills the data values of a given column of the indicated edges with a value as a String, parsing it for theClass
of the column.boolean
GraphElementsController. isEdgeInGraph(Edge edge)
Checks if an edge is contained in the main view graph.void
SearchReplaceController.SearchResult. setFoundEdge(Edge foundEdge)
Constructors in org.gephi.datalab.api with parameters of type Edge Constructor Description SearchOptions(Edge[] edgesToSearch, Pattern regexPattern)
Setup options to search on edges with the given pattern.SearchOptions(Edge[] edgesToSearch, Pattern regexPattern, boolean onlyMatchWholeAttributeValue)
Setup options to search on edges with the given pattern.SearchResult(SearchReplaceController.SearchOptions searchOptions, Node foundNode, Edge foundEdge, int foundRowIndex, int foundColumnIndex, int start, int end)
-
Uses of Edge in org.gephi.datalab.spi.edges
Methods in org.gephi.datalab.spi.edges with parameters of type Edge Modifier and Type Method Description void
EdgesManipulator. setup(Edge[] edges, Edge clickedEdge)
Prepare edges for this action. -
Uses of Edge in org.gephi.graph.api
Methods in org.gephi.graph.api that return Edge Modifier and Type Method Description Edge
DirectedGraph. getEdge(Node source, Node target)
Gets the edge adjacent to source and target.Edge
DirectedGraph. getEdge(Node source, Node target, int type)
Gets the edge adjacent to source and target with an edge of the given type.Edge
Graph. getEdge(Object id)
Gets an edge by its identifier.Edge
Graph. getEdge(Node node1, Node node2)
Gets the edge adjacent to node1 and node2.Edge
Graph. getEdge(Node node1, Node node2, int type)
Gets the edge adjacent to node1 and node2 and from the given type.Edge
DirectedGraph. getMutualEdge(Edge edge)
Gets the edge in the other direction of the given edge.Edge
GraphFactory. newEdge(Object id, Node source, Node target, int type, double weight, boolean directed)
Creates and returns an edge between source and target.Edge
GraphFactory. newEdge(Node source, Node target)
Creates and returns a directed edge between source and target.Edge
GraphFactory. newEdge(Node source, Node target, boolean directed)
Creates and returns an edge between source and target.Edge
GraphFactory. newEdge(Node source, Node target, int type, boolean directed)
Creates and returns an edge between source and target.Edge
GraphFactory. newEdge(Node source, Node target, int type, double weight, boolean directed)
Creates and returns an edge between source and target.Edge
EdgeIterable.EdgeIterableEmpty. next()
Edge[]
EdgeIterable.EdgeIterableEmpty. toArray()
Edge[]
EdgeIterable. toArray()
Returns the iterator content as an array.Methods in org.gephi.graph.api that return types with arguments of type Edge Modifier and Type Method Description Index<Edge>
GraphModel. getEdgeIndex()
Gets the edge index.Index<Edge>
GraphModel. getEdgeIndex(GraphView view)
Gets the edge index for the given graph view.TimeIndex<Edge>
GraphModel. getEdgeTimeIndex()
Gets the edge time index.TimeIndex<Edge>
GraphModel. getEdgeTimeIndex(GraphView view)
Gets the edge time index for the given view.Iterator<Edge>
EdgeIterable.EdgeIterableEmpty. iterator()
Iterator<Edge>
EdgeIterable. iterator()
Returns an edge iterator.Collection<Edge>
EdgeIterable.EdgeIterableEmpty. toCollection()
Collection<Edge>
EdgeIterable. toCollection()
Returns the iterator content as a collection.Set<Edge>
EdgeIterable.EdgeIterableEmpty. toSet()
Set<Edge>
EdgeIterable. toSet()
Returns the iterator content as a set.Methods in org.gephi.graph.api with parameters of type Edge Modifier and Type Method Description boolean
Graph. addEdge(Edge edge)
Adds an edge to this graph.boolean
Subgraph. addEdge(Edge edge)
Adds an edge to this subgraph.boolean
Graph. contains(Edge edge)
Returns true if edge is contained in this graph.Edge
DirectedGraph. getMutualEdge(Edge edge)
Gets the edge in the other direction of the given edge.Node
Graph. getOpposite(Node node, Edge edge)
Gets the node at the opposite end of the given edge.boolean
Graph. isDirected(Edge edge)
Returns true if the given edge is directed.boolean
Graph. isIncident(Edge edge1, Edge edge2)
Returns true if edge1 and edge2 are incident.boolean
Graph. isIncident(Node node, Edge edge)
Returns true if the node and the edge are incident.boolean
Graph. isSelfLoop(Edge edge)
Returns true if the given edge is a self-loop.boolean
Graph. removeEdge(Edge edge)
Removes an edge from this graph.boolean
Subgraph. removeEdge(Edge edge)
Removes an edge from this subgraph.Method parameters in org.gephi.graph.api with type arguments of type Edge Modifier and Type Method Description boolean
Graph. addAllEdges(Collection<? extends Edge> edges)
Adds all edges in the collection to this graph.boolean
Subgraph. addAllEdges(Collection<? extends Edge> edges)
Adds a collection of edges to this subgraph.boolean
Graph. removeAllEdges(Collection<? extends Edge> edges)
Removes all edges in the collection from this graph.boolean
Subgraph. removeAllEdges(Collection<? extends Edge> edges)
Removes a collection of edges from this subgraph. -
Uses of Edge in org.gephi.tools.api
Methods in org.gephi.tools.api with parameters of type Edge Modifier and Type Method Description void
EditWindowController. editEdge(Edge edge)
void
EditWindowController. editEdges(Edge[] edges)
-