Web & HTTP6 exports
Raw Markdown/web/app/graph
Filesystem-driven application route graph (App-Graph) for breadcrumbs, navigation trails, and static site crawling.
Structs#
App-Graph#
structApplication route and navigation graph holding a hierarchy spec and fast path index.
| Field | Type | Default | Constraints / Notes |
|---|---|---|---|
spec | Any | — | — |
index | Any | — | — |
Constants#
App-Node#
constant · AnyType alias representing a single normalized node in an `App-Graph`.
Value:
MapFunctions & symbols#
construct-app-graph-from-fs#
function
Construct an App-Graph from html.tan files and sidecar metadata.
| Parameter | Type | Optional | Description |
|---|---|---|---|
params | Any | optional | — |
Returns:
Anyget-trail#
function
Returns the breadcrumb trail of ancestor nodes from root down to `path`.
| Parameter | Type | Optional | Description |
|---|---|---|---|
graph | Any | required | — |
path | Any | required | — |
vars | Any | required | — |
Returns:
Anygraph-to-assoc#
function
Converts an `App-Graph` index into a `{path handler}` map suitable for `route-map`.
| Parameter | Type | Optional | Description |
|---|---|---|---|
graph | Any | required | — |
Returns:
Anymake-app-graph#
function
Construct a graph from a spec tree.
| Parameter | Type | Optional | Description |
|---|---|---|---|
spec | Any | required | — |
Returns:
Any