Diagram / Import and Export / Import / Mermaid Diagram Import
In This Topic

    Mermaid Diagram Import

    In This Topic

    NOV Diagram supports import of Mermaid flowcharts. They are usually stored as MMD files.

    The following code examples show how to load a Mermaid flowchart from a file and from a stream in a drawing view:

    Importing Mermaid diagram from a file
    Copy Code
    drawingView.LoadFromLocalFile(@"D:\Documents\MyMermaidFlowchart.mmd");
    
    Importing a Mermaid diagram from a stream
    Copy Code
    drawingView.LoadFromStream(stream, NDrawingFormat.Mermaid);