Documentation
¶
Index ¶
- Constants
- func LoadDeps[T any](ctx context.Context, g *graph.Graph[T], parser NodeParser[T]) (context.Context, string, error)
- func PrintStructured[T any](ctx context.Context, entrypoint string, ...) (string, error)
- type DepCycle
- type DepTree
- type DepTreeNode
- type LevelCalculator
- type NodeParser
- type NodeParserBuilder
- type StructuredTree
- type TestParser
Constants ¶
View Source
const ConnectorDestinationNodeIdTag = "connectorDestination"
View Source
const ConnectorOriginNodeIdTag = "connectorOrigin"
View Source
const NodeIdTag = "nodeId"
View Source
const NodeIndexTag = "nodeIndex"
View Source
const NodeParentsTag = "nodeParents"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DepTree ¶
type DepTree[T any] struct { Nodes []*DepTreeNode[T] Graph *graph.Graph[T] RootId string Cycles *orderedmap.OrderedMap[[2]string, DepCycle] }
func NewDepTree ¶
type DepTreeNode ¶
type LevelCalculator ¶
type LevelCalculator[T any] struct { Cycles *orderedmap.OrderedMap[[2]string, DepCycle] // contains filtered or unexported fields }
func NewLevelCalculator ¶
func NewLevelCalculator[T any]( g *graph.Graph[T], rootId string, ) *LevelCalculator[T]
type NodeParser ¶
type NodeParserBuilder ¶ added in v0.13.5
type StructuredTree ¶
type TestParser ¶
func (*TestParser) Entrypoint ¶
func (t *TestParser) Entrypoint() (*graph.Node[[]int], error)
Click to show internal directories.
Click to hide internal directories.