| Package | Description |
|---|---|
| org.gephi.graph.api |
Complete API description, where
GraphModel is the entry point. |
| Modifier and Type | Method and Description |
|---|---|
Edge |
Graph.getEdge(Node node1,
Node node2)
Gets the edge adjacent to node1 and node2.
|
Edge |
DirectedGraph.getEdge(Node source,
Node target)
Gets the edge adjacent to source and target.
|
Edge |
Graph.getEdge(Node node1,
Node node2,
int type)
Gets the edge adjacent to node1 and node2 and from the given type.
|
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 |
DirectedGraph.getMutualEdge(Edge edge)
Gets the edge in the other direction of the given edge.
|
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 |
GraphFactory.newEdge(Object id,
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.toArray()
Returns the iterator content as an array.
|
Edge[] |
EdgeIterable.EdgeIterableEmpty.toArray() |
| Modifier and Type | Method and 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.iterator()
Returns an edge iterator.
|
Iterator<Edge> |
EdgeIterable.EdgeIterableEmpty.iterator() |
Collection<Edge> |
EdgeIterable.toCollection()
Returns the iterator content as a collection.
|
Collection<Edge> |
EdgeIterable.EdgeIterableEmpty.toCollection() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
Subgraph.addEdge(Edge edge)
Adds an edge to this subgraph.
|
boolean |
Graph.addEdge(Edge edge)
Adds an edge to this graph.
|
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 |
Subgraph.removeEdge(Edge edge)
Removes an edge from this subgraph.
|
boolean |
Graph.removeEdge(Edge edge)
Removes an edge from this graph.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
Subgraph.addAllEdges(Collection<? extends Edge> edges)
Adds a collection of edges to this subgraph.
|
boolean |
Graph.addAllEdges(Collection<? extends Edge> edges)
Adds all edges in the collection to this graph.
|
boolean |
Subgraph.removeAllEdges(Collection<? extends Edge> edges)
Removes a collection of edges from this subgraph.
|
boolean |
Graph.removeAllEdges(Collection<? extends Edge> edges)
Removes all edges in the collection from this graph.
|
Copyright © 2013–2015. All rights reserved.