A browser-based viewport designed to read and display interactive, high-resolution structural diagrams. Version 2.0 also includes Text-to-Speech (TTS) to read contextual system stories. Markdown files (in the diagrams folder) store the graph layouts (Mermaid.js syntax) and system stories.
The initial foundational tier focused purely on micro-precision browser graphics and canvas manipulation layers.
The architecture introduces an asynchronous content parser and a localised audio runtime engine to turn architectural models into accessible stories.
title:, text:, and code: blocks).To feed data into the viewport matrix, your external text documents (stored inside the diagrams/ folder) must wrap configuration lines inside explicit delimiters. This keeps data assets readable by humans and cleanly sliceable by the computer.
title: "Your Perspective Title Here",
text: `<p>First paragraph of your perspective story essay...</p>
<p>Second paragraph of your story context...</p>`,
code: `flowchart TD
A[Your Structural Node] --> B[Your Next Connecting Layer]`
Fork or clone this repository to your local studio workplace environment, ensuring your file paths align with the template variables:
├── index.html
├── diagrams/
│ ├── system-overview.md
│ └── system-journey.md
└── assets/
Open the diagrams/ folder, duplicate a template file, and format your specific metrics inside the title:, text:, and code: parameters shown in the schema above.
Open viewer-2.0.html, navigate to the perspectives data matrix inside the script tags, and link your file destination properties directly to the paths of the new documents:
const perspectives = {
journey: {
title: "Your Custom Journey View",
file: "diagrams/your-custom-journey.md",
text: "<p>Baseline fallback text for first-time loads...</p>"
}
};
Commit your changes and push the directory assets to a static hosting platform (such as GitHub Pages). The script engine will automatically execute its asynchronous lookups and serve your interactive diagram matrix globally.