150 import {COL_GAP} from '@fuzdev/fuz_docs/stack_layout.js'; Horizontal spacing between adjacent nodes within a layer.
experimental AI-generated docs and skills for Fuz, a zippy stack for human agency
4 modules · 12 declarations
150 import {COL_GAP} from '@fuzdev/fuz_docs/stack_layout.js'; Horizontal spacing between adjacent nodes within a layer.
(nodes: readonly StackNodeInput[], edges: readonly StackEdge[]): StackNode[] import {compute_stack_layout} from '@fuzdev/fuz_docs/stack_layout.js'; Computes baked layout positions for the stack graph.
The full edges list is used only to derive the layering; the emitted edge
list is owned by the caller (the generator emits every edge, including the
dev ones this layout cuts).
nodesraw nodes keyed by name
readonly StackNodeInput[]edgesevery dependency edge (prod, peer, and dev)
readonly StackEdge[]StackNode[] positioned nodes sorted by name, with layer, fan_in, x, y filled in
accepts children
import DataInput from '@fuzdev/fuz_docs/DataInput.svelte'; children?Snippet<[]>value?The normalized binary output. null when input is empty or invalid.
Uint8Array<ArrayBufferLike>nullinput_mode?The current input mode.
InputMode'text'SvelteHTMLElements['div']120 import {ROW_GAP} from '@fuzdev/fuz_docs/stack_layout.js'; Vertical spacing between adjacent layers.
readonly StackRepo[] import {stack_repos} from '@fuzdev/fuz_docs/stack_repos.js'; Public stack repos in rough dependency order. Order is cosmetic for the
dependency graph (its generator sorts), but sets the display order of the
generated libraries.json / stack.json.
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
StackNodeInput import type {StackNodeInput} from '@fuzdev/fuz_docs/stack_layout.js'; Raw node input to compute_stack_layout — the positioned fields are filled in by the layout.
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
StackRepo import type {StackRepo} from '@fuzdev/fuz_docs/stack_repos.js'; One public stack repo, identified by its workspace directory name.
pathDirectory name under the workspace root, e.g. fuz_util.
type string
nameCanonical manifest/package name, e.g. @fuzdev/fuz_util (unscoped for svelte-docinfo).
type string
categoryEditorial grouping (not derivable from any manifest).
type StackCategory
languagePrimary language. wasm/rust repos build via Cargo, not svelte-docinfo.
type StackLanguage