Interface DependencyGraphI<V,E>
- All Superinterfaces:
org.jgrapht.Graph<V,
,E> JsonSerializable
- All Known Implementing Classes:
MethodDependencyGraph
,ServiceDependencyGraph
Represents an object dependency graph with dependent vertices connected by edges
-
Field Summary
Fields inherited from interface org.jgrapht.Graph
DEFAULT_EDGE_WEIGHT
-
Method Summary
Modifier and TypeMethodDescriptionMethod to get adjacency list of the entire graphgetAdjacency
(V vertex) Method to get addjacency list of a given vertexgetLabel()
Represents the name of the graphThe timestamp of the current Network graph (i.e.boolean
Whether the edges are interpreted as directedboolean
Whether several edges between source and target are alloweddefault com.google.gson.JsonObject
Methods inherited from interface org.jgrapht.Graph
addEdge, addEdge, addVertex, addVertex, containsEdge, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeSource, getEdgeSupplier, getEdgeTarget, getEdgeWeight, getType, getVertexSupplier, incomingEdgesOf, inDegreeOf, iterables, outDegreeOf, outgoingEdgesOf, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, setEdgeWeight, setEdgeWeight, vertexSet
-
Method Details
-
getLabel
String getLabel()Represents the name of the graph -
getTimestamp
String getTimestamp()The timestamp of the current Network graph (i.e. the commit ID that the Network graph represents) -
isDirected
boolean isDirected()Whether the edges are interpreted as directed -
isMultigraph
boolean isMultigraph()Whether several edges between source and target are allowed -
getAdjacency
Method to get adjacency list of the entire graph- Returns:
- adjacency list of entire graph
-
getAdjacency
Method to get addjacency list of a given vertex- Parameters:
vertex
- vertex to get adjacency list of- Returns:
- adjacency list for given vertex
-
toJsonObject
default com.google.gson.JsonObject toJsonObject()- Specified by:
toJsonObject
in interfaceJsonSerializable
- Returns:
- a JsonObject representing this
-