stack_graph_types.ts view source
StackCategory import type {StackCategory} from '@fuzdev/fuz_docs/stack_graph_types.js'; Editorial grouping of a stack repo, hardcoded by the generator (not from any manifest).
Hand-written types for the public @fuzdev stack dependency graph.
The generated stack_graph.ts (under src/routes/docs/stack/) re-exports
these and provides the baked stack_nodes / stack_edges data. The pure
layout in stack_layout.ts produces the positioned StackNodes.
5 declarations
stack_graph_types.ts view source
StackCategory import type {StackCategory} from '@fuzdev/fuz_docs/stack_graph_types.js'; Editorial grouping of a stack repo, hardcoded by the generator (not from any manifest).
stack_graph_types.ts view source
StackEdge import type {StackEdge} from '@fuzdev/fuz_docs/stack_graph_types.js'; A directed dependency edge between two stack nodes.
fromDependent (the one that depends).
type string
toDependency (the one depended upon).
type string
kindtype StackEdgeKind
stack_graph_types.ts view source
StackEdgeKind import type {StackEdgeKind} from '@fuzdev/fuz_docs/stack_graph_types.js'; Which dependency block an edge came from.
stack_graph_types.ts view source
StackLanguage import type {StackLanguage} from '@fuzdev/fuz_docs/stack_graph_types.js'; Primary implementation language of a stack repo.
stack_graph_types.ts view source
StackNode import type {StackNode} from '@fuzdev/fuz_docs/stack_graph_types.js'; A positioned node in the stack dependency graph.
nameShort repo/display name, e.g. fuz_util, fuz.dev.
type string
categorytype StackCategory
languagetype StackLanguage
descriptionFrom the manifest description field; empty string if none.
type string
layerDependency depth from the cut graph: 0 = foundation (bottom).
type number
fan_inNumber of nodes that depend on this one (in-degree over the cut graph); drives node size.
type number
xBaked world-space layout coords. y grows downward (SVG); foundations have the largest y.
type number
ytype number