reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/html_export_graph_page

Idea detail

html_export_graph_page

reqlan rq/extension/features-html-export.rq:184

block

Summary

Html export should provide an interactive graph page with search, filters, and links back into idea and cluster pages.
The graph should support scoped views for workspace, file, cluster, and idea contexts.
The workspace graph page must include every idea in the export scope — blocks, oneliners, and ideasets — and must not apply the interactive Ideas Summary GRAPH_MAX_NODES budget.
Ideasets are visible by default with a Hide ideasets / Show ideasets toggle, matching the external-file visibility control.
Status and tag filters are multi-select and distinguish graph_status_tag_filters.
Per-idea, per-file, and per-cluster neighbourhood graphs may still use a capped budget for focused pages.
html_export_graph_links
html_export_graph_layout
html_export_graph_animation
html_export_graph_subject
html_export_graph_labels
html_export_graph_label_modes
html_export_graph_label_auto
html_export_graph_interaction
html_export_graph_metadata

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/features-html-export.rq

community 15

community cluster

features-html-export.rq

file cluster

reqlan rq/extension

folder cluster

status: Not present

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

KeyValue
implementation build-export-snapshot.ts, html-export-assets.ts, html-export-template.ts, webview-graph-queries.ts, register-export-commands.ts
tests export-html.test.ts

Browse all attributes

Ancestor context

html_export_graph_links

Graph node hrefs must resolve to idea pages from every export page depth, including nested idea, file, and cluster pages. Node urls should be export-root-relative so path segments such as ideas / are not dropped when resolving from nested pages. When [html_export_url_base] is set, runtime resolution of those urls must honour the mount prefix ( same contract as page and asset hrefs ). External file nodes should resolve to [html_export_file_pages] or [html_export_code_reference_pages] when those page families are enabled.

html_export_graph_layout

The interactive export graph should lay out nodes so labels and circles do not heavily overlap. Initial placement should settle with the same Obsidian-style force model as [layout_physics] ( central gravity, edge springs, inverse-square repulsion ). Rendering uses canvas 2 d ( not SVG DOM ) with shared physics from ["../../packages/analytical/src/graph/physics-core.js"].

html_export_graph_animation

Live physics in the HTML export should match Ideas Summary animatePhysics: continuous damped semi-implicit Euler using the defaults from ["../../packages/analytical/src/graph/physics-core.js"] ( same module as ["../../packages/extension/webviews/shared/graph/graph-physics.ts"] ). A Live physics toggle pauses and resumes the same simulation state ( default off ); when off, the graph batch-settles then sleeps. Simulation should converge and sleep when calm, waking on filter changes or when Live physics is turned back on, aligned with [layout_physics]. Large graphs use a spatial grid + repulsion cutoff in the shared core; all nodes and full labels remain visible.

html_export_graph_subject

When a graph view has a subject or center idea, that node should be visually distinct from peers and externals. Subject styling should use the brand rust accent against cyan peer nodes.

html_export_graph_labels

HTML export canvas graphs implement shared [graph_labels] ( full names, no ellipsis truncation ). [html_export_graph_label_modes] [html_export_graph_label_auto]

html_export_graph_label_modes

Export-surface wiring for [graph_label_modes]: Labels control on every interactive export graph cycles auto / on / off; Reset restores auto.

html_export_graph_label_auto

Export-surface wiring for [graph_label_auto]: canvas paint applies continuous zoom opacity ( GRAPH_LABEL_FADE_START → GRAPH_LABEL_FADE_END ); hover / drag stays fully opaque. Zoom and Fit from [html_export_graph_interaction] / [manual_reframe] update opacity each paint.

html_export_graph_interaction

The interactive export graph should support dragging nodes and panning or zooming the viewport, aligned with [view_controls] and [manual_reframe]. Click-through to idea pages must remain available after drag via click-versus-drag discrimination. A Fit control should reframe the viewport to the current node set without restarting layout or clearing live physics state. Zoom and Fit must continuously drive [graph_label_auto] / [html_export_graph_label_auto] opacity when Labels is in auto mode.

html_export_graph_metadata

Graph nodes in the HTML export should surface tags, status, and attribute keys on or beside the node, not only as filter inputs. Attribute values declared on the idea should be reachable from the graph via the idea page and on-node attribute key summary.

html_export_url_base

Html export should accept an optional urlBase mount prefix ( for example `/spec` or `/reqlan/spec` ). When set, page and asset hrefs must be root-relative under that prefix so static hosts resolve correctly whether the directory URL includes a trailing slash. When omitted, exports keep document-relative hrefs suitable for local folder browsing. Applies across [html_export_internal_links] and [html_export_graph_links]; site embed consumption: ["../../site/reqs/core.rq".spec_html_export]. Often paired with [html_export_header_link] when the export is mounted under a parent static site.

html_export_file_pages

Html export should generate dedicated pages for reqlan source files that host ideas in the export scope. File pages should list hosted ideas, related clusters, and a local graph view when available. Emission defaults on and is controllable via includeFilePages so page families can be flagged in or out without changing the export pipeline shape. Graph nodes and idea source-file links for hosting files should resolve to these pages when enabled.

html_export_code_reference_pages

Html export should generate dedicated pages for outbound file_reference targets that are not idea-hosting reqlan files already covered by [html_export_file_pages]. Code-file pages should list referencing ideas and reference labels, and participate in search and navigation. Emission defaults on and is controllable via includeCodeFilePages so this page family can be flagged in or out later. Outbound reference path cells and graph external file nodes should link to these pages when enabled.

html_export_internal_links

Every exported idea should have a stable html page path and stable in-page anchors. References, breadcrumbs, search results, graph nodes, cluster members, attribute listings, file listings, and code-file listings should link to html pages rather than only showing text labels. Graph node links must follow [html_export_graph_links]. When [html_export_url_base] is set, those same links must be root-relative under the mount prefix so static hosts resolve them with or without a trailing slash.

html_export_header_link

Html export should accept an optional header link ( href + label ) rendered in the topbar ahead of section navigation. Hosts such as the marketing site build can set this so readers can return to the parent site from any exported page. When omitted, the topbar shows only the export section nav. Site embed consumption: ["../../site/reqs/core.rq".spec_html_export]. Often paired with [html_export_url_base] when the export is mounted under a parent static site.

Outbound references

KindIdeaPathSnippet
file_reference ../../packages/analytical/src/export/build-export-snapshot.ts packages/analytical/src/export/build-export-snapshot.ts build-export-snapshot.ts
file_reference ../../packages/analytical/src/export/html-export-assets.ts packages/analytical/src/export/html-export-assets.ts html-export-assets.ts
file_reference ../../packages/analytical/src/export/html-export-template.ts packages/analytical/src/export/html-export-template.ts html-export-template.ts
file_reference ../../packages/analytical/src/index-store/webview-graph-queries.ts packages/analytical/src/index-store/webview-graph-queries.ts webview-graph-queries.ts
file_reference ../../packages/analytical/test/export-html.test.ts packages/analytical/test/export-html.test.ts export-html.test.ts
file_reference ../../packages/extension/src/analytical_submodule/export/register-export-commands.ts packages/extension/src/analytical_submodule/export/register-export-commands.ts register-export-commands.ts
references html_export_graph_animation reqlan rq/extension/features-html-export.rq html_export_graph_animation
references html_export_graph_interaction reqlan rq/extension/features-html-export.rq html_export_graph_interaction
references html_export_graph_label_auto reqlan rq/extension/features-html-export.rq html_export_graph_label_auto
references html_export_graph_label_modes reqlan rq/extension/features-html-export.rq html_export_graph_label_modes
references html_export_graph_labels reqlan rq/extension/features-html-export.rq html_export_graph_labels
references html_export_graph_layout reqlan rq/extension/features-html-export.rq html_export_graph_layout
references html_export_graph_links reqlan rq/extension/features-html-export.rq html_export_graph_links
references html_export_graph_metadata reqlan rq/extension/features-html-export.rq html_export_graph_metadata
references html_export_graph_subject reqlan rq/extension/features-html-export.rq html_export_graph_subject

Inbound references

KindIdeaPathSnippet
references html_export reqlan rq/extension/features-html-export.rq html_export_graph_page

Unresolved references

KindIdeaPathSnippet
references graph_status_tag_filters graph_status_tag_filters

Local graph

Initialising graph…