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, where
GraphModel is the entry point. |
org.gephi.tools.api |
API for selecting the current Tool.
|
Modifier and Type | Method and Description |
---|---|
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,
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,
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(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,
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,
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[] |
SearchReplaceController.SearchOptions.getEdgesToSearch()
Getters and setters
|
Edge |
SearchReplaceController.SearchResult.getFoundEdge() |
Edge[] |
GraphElementsController.getNodeEdges(Node node)
Prepares and returns an array with the edges incident to the specified node.
|
Modifier and Type | Method and 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 |
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 the
Class 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) |
Constructor and 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) |
Modifier and Type | Method and Description |
---|---|
void |
EdgesManipulator.setup(Edge[] edges,
Edge clickedEdge)
Prepare edges for this action.
|
void |
EdgesManipulator.setup(Edge[] edges,
Edge clickedEdge)
Prepare edges for this action.
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
EditWindowController.editEdge(Edge edge) |
void |
EditWindowController.editEdges(Edge[] edges) |
Copyright © 2007–2015 Gephi Consortium. All rights reserved.