Network Defined
@Serializable
@SerialName(value = "NetworkDefined" )
Defines a network (graph) backdrop with auto-laid-out nodes and weighted edges (G7). Emitted once per replication after the model wires the graph (e.g. in initialize()), since a ksl.modeling.agent.NetworkProjection is non-spatial — node positions are assigned by a layout at snapshot time. Agents are emitted at the same node positions (AgentPositionChanged) so their state colors render on top of the edges.
Constructors
Link copied to clipboard
constructor(simTime: Double, name: String, nodes: List<NetworkNodeDef> = emptyList(), edges: List<NetworkEdgeDef> = emptyList())