Function render
Source pub fn render(
project: &Project,
format: Format,
kind: DiagramKind,
root: Option<&str>,
) -> Result<String, String>
Expand description
Render a diagram from project data.
root is an optional ID string: parsed as ConceptId for tree/wbs diagrams,
or TaskId for dag/gantt diagrams.