Versions in this module Expand all Collapse all v0 v0.4.2 Aug 13, 2026 v0.4.1 Aug 10, 2026 Changes in this version + const AspectRatioLimit + const AuxHGap + const AuxVGap + const BoundaryCellSize + const BoundaryFanSlopeDen + const BoundaryVGap + const CharsPerLine + const ConceptChainVGap + const ConceptGap + const DefaultCellH + const DefaultCellW + const EventVGap + const ForkHGap + const GraphGap + const GridStep + const LineHeight + const LinesPerBaseH + const MarginX + const MarginY + const MaxBoundaryFanAngleDeg + const MaxCorridorLeverage + const MaxFanAngleDeg + const MaxNodeWidth + const MinNodeGap + const StandaloneChainGap + const TargetAspectRatio + const ThingHGap + const ThingVGap + const TuckEdgeClear + var NodeStyles = map[NodeType]NodeStyle + func CollapsedGapH(aType, bType NodeType) int + func CollapsedGapV(aType, bType NodeType) int + func ComputeEdgeStubs(g *Graph, routes []EdgeRoute) map[int]EdgeStubs + func DetourBlockedEdges(g *Graph) int + func EdgeEndpointSide(node, other Node, port EdgePort) string + func EdgePortPoint(node, _ Node, port EdgePort) (int, int) + func GrowToFit(positions []float64, order []int, before, after int, minSpan float64, ...) []float64 + func OrderSharedPorts(g *Graph) int + func SolveSeparations(vars []VPSCVar, constraints []VPSCConstraint) []float64 + type Bounds struct + Height int + MarginX int + MarginY int + Width int + type Constants struct + Grid int + type Container struct + ChildNodeIDs []string + ShellStyle string + type Edge struct + Base string + Deferred bool + Dir string + From string + FromPort *EdgePort + Label string + Route *EdgeRouteJSON + Style string + To string + ToPort *EdgePort + Visibility string + type EdgePort struct + Position float64 + Side string + type EdgeRoute struct + Bends []Position + Source EdgePort + Target EdgePort + func RoutesOf(g *Graph) []EdgeRoute + func (r EdgeRoute) Segments(sx, sy, tx, ty int) [][4]int + type EdgeRouteJSON struct + Bends []Position + Source PortJSON + SourceStub []Position + Target PortJSON + TargetStub []Position + type EdgeStubs struct + Source []Position + Target []Position + type EdgeType string + const EdgeExpresses + const EdgeLeadsTo + const EdgeNearTo + const EdgePartOf + type Graph struct + Edges []Edge + Meta Meta + Nodes []Node + Version string + type LayoutEdge struct + Dir string + EdgeType EdgeType + ID int + Label string + SourceID int + TargetID int + type LayoutNode struct + Alias string + Height int + ID int + Label string + ModelID int + Tooltip string + Type NodeType + Width int + X int + Y int + type Meta struct + Bounds Bounds + Constants Constants + Warnings []string + type Node struct + Alias string + Candidates []string + Container *Container + Height int + ID string + Label string + LabelOriginal string + ParentNodeIDs []string + RenderKind string + Tooltip string + Type string + Width int + X int + Y int + type NodeStyle struct + MarginX int + MarginY int + type NodeType string + const NodeBoundary + const NodeConcept + const NodeEvent + const NodeThing + const NodeUnresolved + type PortJSON struct + Position float64 + Side string + type Position struct + X int + Y int + type VPSCConstraint struct + Gap float64 + Left int + Right int + type VPSCVar struct + Desired float64 + Weight float64