What every generator provides. createDiagram() returns this, so callers that only render can stay agnostic about which diagram they asked for.
createDiagram()
Render the diagram and return the SVG source.
Render and write to outPath, returning the SVG source.
outPath
What every generator provides.
createDiagram()returns this, so callers that only render can stay agnostic about which diagram they asked for.