Fix a rejected or incomplete Mermaid import

Check the diagram type and source size, then review which shapes and connections will survive the import.

If Mainbase rejects a .mmd or .mermaid file, or the import review reports unsupported syntax, check the source before applying changes to your flow.

Fix a rejected file

  1. If you see This file does not contain a supported Mermaid flowchart., open the file in a plain-text editor. If you copied it from Markdown, remove the opening and closing code fences, including the mermaid tag on the opening fence. Keep the diagram source inside them.
  2. Check that the diagram starts with a flowchart header such as flowchart TD or graph LR and defines at least one node. Sequence diagrams and other Mermaid diagram types need to be redrawn as flowcharts before you can import them here.
  3. For a large diagram, make a separate file for each process or branch you want to import. The source limits are 200,000 characters, 5,000 lines, 2,000 nodes, and 5,000 connections per diagram. Open a separate flow for each file so one import cannot replace the previous one.

Review what will be imported

  1. Select Import a Mermaid file again and choose the edited file. In Review Mermaid file import, select Review changes.
  2. If the review reports lines with unsupported or simplified syntax, compare the source with the list of proposed changes. For example, Mainbase can import the nodes and connections inside subgraph blocks and skips the grouping. Directives such as style and classDef are also skipped.
  3. Edit the source and select Review changes again if important shapes or connections are missing. Select Apply changes once the proposed diagram matches the structure you want. You can style the imported shapes and labels in Mainbase after applying it.

Import, edit, and download a flow

Ask Mainbase AI

Ask about any feature in Mainbase. Find a setting, get step-by-step guidance, or troubleshoot a problem.

Open the AI assistant

Copy a question to get started

  • How do I create a Kanban view?
  • How do I invite a teammate?
  • Why is a record missing from this view?