Versions in this module Expand all Collapse all v0 v0.3.0 Mar 24, 2026 Changes in this version type Model + func NewModelFromData(data []byte, fname string) (*Model, error) v0.1.0 Oct 29, 2025 Changes in this version + type CapacityBlock struct + NVLink string + Name string + Nodes []string + Type string + type Model struct + CapacityBlocks []*CapacityBlock + Instances []topology.ComputeInstances + Nodes map[string]*Node + Switches []*Switch + func NewModelFromFile(fname string) (*Model, error) + func (model *Model) ToGraph() (*topology.Vertex, map[string]string) + type Node struct + CapacityBlock string + Metadata map[string]string + NVLink string + Name string + NetLayers []string + Type string + func (n *Node) String() string + type Switch struct + CapacityBlocks []string + Metadata map[string]string + Name string + Switches []string