Package kieker.analysis.generic.graph
Interface IGraph<N extends INode,E extends IEdge>
- Type Parameters:
N- node typeE- edge type
- All Known Implementing Classes:
GraphImpl
The Kieker IGraph is based on the google Graph library. It addes primarily the notion of a name for the graph and subgraphs inside nodes.
- Since:
- 2.0.0
- Author:
- Reiner Jung
-
Method Details
-
getGraph
Get the underlying google graph (network).- Returns:
- return the graph
-
getLabel
String getLabel()- Returns:
- returns the graph label
-
setLabel
Set the graph label.- Parameters:
label- label of the graph
-
findNode
Find a node by its id.- Parameters:
id- id of the node- Returns:
- returns an optional which may contain the node or nothing when no node with the given id exists
-
findEdge
Find an edge by its id.- Parameters:
id- id of the edge- Returns:
- returns an optional which may contain the edge or nothing when no edge with the given id exists
-