Skip to content

Create Topology-Simulations

Create a custom class for simulation topologies.

Name: TopologySimulation

Fields:

  • Id
  • Nodes
  • Links
  • ForceLayout
  • LiveView: controlls whether this subscribes to events

Methods:

  • AddNode(DeviceId : string)
  • AddLink(LinkId: String)
  • Simulate() // takes callback or sth. to update front