Class DependencyGraph

java.lang.Object
cambio.simulator.export.DependencyGraph

public class DependencyGraph extends Object
The DependencyGraph class is used in order to create the graph that displays the dependencies between the systems' microservice instances.
  • Constructor Details

    • DependencyGraph

      public DependencyGraph(MiSimModel model, Collection<Microservice> microservices)
      Instantiates a DependencyGraph.
      Parameters:
      model - The model which owns this DependencyGraph
      microservices - all known services
  • Method Details

    • printGraph

      public String printGraph()
      Create the javascript code for the DependencyGraph.
      Returns:
      String: js code for the graph