MarkdownGenerator
class MarkdownGenerator
Generates human-readable Markdown from a metamodel tree.
The generator walks the model depth-first and renders:
a heading per node (based on com.stigway.metamodels.highway.Element.level)
the node identifier (simple class name)
optional descriptions
selected per-type properties (e.g. ASIL, derivation links)
Children are discovered via nested Kotlin object declarations (reflection), which makes it easy to author small "static" models directly in code.
Functions
Link copied to clipboard
Renders root (and its nested children) into a Markdown document.
Link copied to clipboard
Convenience wrapper around generateMarkdown that writes to out.