Package cambio.simulator.export
Class DependencyGraph
java.lang.Object
cambio.simulator.export.DependencyGraph
The
DependencyGraph class is used in order to create the graph that displays the dependencies between
the systems' microservice instances.-
Constructor Summary
ConstructorsConstructorDescriptionDependencyGraph(MiSimModel model, Collection<Microservice> microservices) Instantiates aDependencyGraph. -
Method Summary
Modifier and TypeMethodDescriptionCreate the javascript code for theDependencyGraph.
-
Constructor Details
-
DependencyGraph
Instantiates aDependencyGraph.- Parameters:
model- 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
-