standpoint.webgui module

The single-page Standpoint GUI as one self-contained HTML string.

No build step, no framework, no npm: vanilla JavaScript + Tailwind (Play CDN) + marked (to render the Markdown analysis). The server sends back a complete, self-contained SVG (see standpoint.to_svg); the page drops it straight into the DOM (no chart-rendering runtime, no external spec to interpret) and edits its pole labels live by updating their text nodes directly. standpoint.api serves this page at GET /gui.

Kept as a Python string (rather than a static file) so it ships inside the package: the whole GUI is a two-file backend plus this one-string frontend.