prorm API Reference
    Preparing search index...

    Interface DiagramGenerator

    What every generator provides. createDiagram() returns this, so callers that only render can stay agnostic about which diagram they asked for.

    interface DiagramGenerator {
        generate(): string;
        save(outPath: string): string;
    }
    Index
    • Render and write to outPath, returning the SVG source.

      Parameters

      • outPath: string

      Returns string