Package de.rss.fachstudie.MiSim.export
Class DependencyGraph
java.lang.Object
de.rss.fachstudie.MiSim.export.DependencyGraph
public class DependencyGraph extends Object
The
DependencyGraph class is used in order to create the graph that displays the dependencies between
all of the systems microservice instances.-
Constructor Summary
Constructors Constructor Description DependencyGraph(MainModel model, Collection<Microservice> microservices)Instantiates aDependencyGraph. -
Method Summary
Modifier and Type Method Description StringprintGraph()Create the javascript code for theDependencyGraph.
-
Constructor Details
-
DependencyGraph
Instantiates aDependencyGraph.- Parameters:
model- MainModel: The model which owns this DependencyGraphmicroservices- all known services
-
-
Method Details
-
printGraph
Create the javascript code for theDependencyGraph.- Returns:
- String: js code for the graph
-