ErrLookup › mermaid-js/mermaid
mermaid-js/mermaid
Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown · TypeScript · 596 source files
Analyzed at d93e9c88c0 on 2026-08-12. 95 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Parsing failed | validation | error | parser, langium, syntax, mermaid, ast |
| Error: State name must be a single word. Found | exception | error | state-diagram, jison, lexer, syntax, mermaid |
| parser.parser?.yy was not a PacketDB. This is due to a bug… | exception | error | mermaid, packet, parsing, internal-invariant, integration |
| union requires multiple identifiers | exception | error | venn, jison, grammar, syntax, mermaid |
| text requires set | exception | error | venn, jison, grammar, syntax, mermaid |
| Line definition not found | exception | error | mermaid, gitgraph, rendering, geometry, internal-invariant |
| Could not find a suitable point for the given distance | exception | error | utils, geometry, edges, render |
| Position not found for branch | exception | error | mermaid, gitgraph, rendering, internal-invariant |
| Could not calculate intersection points for rel | exception | error | c4, relationship, geometry, render-time |
| The left-hand id [ ] is modified to traverse the group… | validation | error | architecture, edge, group-boundary, validation |
| Architecture layout failed: a declared `align row|column`… | exception | error | architecture, layout, fcose, constraint-conflict, render-time |
| Commit positions not found for commits | exception | error | mermaid, gitgraph, rendering, data-integrity |
| C4 shape " " has no intersect function. Please report this… | exception | error | c4, shape, internal, bug, relationship |
| Items without section detected, found section | exception | error | mermaid, kanban, parsing, data-integrity |
| Sandbox iframe #i is missing its content document | exception | error | sandbox, security, dom, iframe, render |
| Class not found | exception | error | class, lookup, reference, sanitization |
| Groups within groups are not allowed in Kanban diagrams | exception | error | mermaid, kanban, rendering, internal-invariant |
| Unknown diagram type | validation | error | parser, validation, diagram-type, registry |
| Axes must be populated before curves for reference entries | exception | error | radar, ordering, diagram-db, api-misuse |
| Block start is greater than block end . | exception | error | mermaid, packet, parsing, internal-invariant |
| C4: no shape handler for | exception | error | c4, shape, internal, renderer |
| Invalid icon name | validation | error | icons, validation, iconify, rendering |
| No nodes found in layout data | validation | error | layout, validation, tidy-tree, nodes |
| Nodes and querySelector are both undefined | exception | error | mermaid-api, run, options, dom, validation |
| No nodes available to create tree | validation | error | layout, tidy-tree, defensive, nodes |
| No such shape: . Shape names should be lowercase. | exception | error | mermaid, kanban, parsing, validation |
| svg element not in render tree | exception | error | utils, dom, ssr, jsdom, text-measurement |
| State not found | exception | error | state, internal-invariant, concurrency, diagram-db |
| Failed to load icon set | exception | error | icons, network, iconify, async, loader |
| Icon set not found | exception | error | icons, configuration, iconify, registry |
| start should have been set during first phase | exception | error | mermaid, packet, parsing, internal-invariant |
| Layout data is required | validation | error | layout, cose-bilkent, validation, internal |
| Edges array is required in layout data | validation | error | layout, cose-bilkent, validation, graph |
| Invalid icon loader. Must have either "icons" or "loader"… | validation | error | icons, configuration, registericonpacks, validation |
| value for is invalid, please use a valid hex code | validation | error | mermaid, quadrant-chart, parsing, validation |
| value for is invalid, please use a valid number of pixels… | validation | error | mermaid, quadrant-chart, parsing, validation |
| must be between 0-1 (decimal) or 0-100 (percentage)… | validation | error | wardley, coordinates, range, validation, units |
| Position must be a non-negative integer. | validation | error | block, layout, validation, grid |
| Unknown layout algorithm | validation | error | layout, render, configuration, registry |
| value for is invalid, please use a valid number | validation | error | mermaid, quadrant-chart, parsing, validation |
| Packet block is invalid. Cannot have a zero bit field. | exception | error | mermaid, packet, parsing, validation |
| The service id [ ] is already in use by another | validation | error | architecture, mermaid, validation, duplicate-id, service |
| The given radii are too small to create an arc between the… | exception | error | shapes, geometry, bow-tie, render |
| There can be only one root. No parent could be found for | exception | error | mermaid, mindmap, parsing, data-integrity |
| The group [ ]'s parent is not a group | validation | error | architecture, hierarchy, type-mismatch, group |
| Missing entry for axis | exception | error | radar, missing-data, diagram-db, validation |
| Edge limit exceeded. | exception | error | |
| Both layout algorithms | exception | error | layout, render, registry, configuration |
| Diagrams beginning with --- are not valid. If you were… | validation | error | mermaid, front-matter, yaml, diagram, parse |
| align references [ ], which is not a service or junction | validation | error | architecture, layout, align, type-mismatch |
| Line : Unexpected indentation without box-drawing… | validation | error | treeview, box-drawing, preprocessor, mixed-format, indentation |
| An align directive requires at least two members; got | validation | error | architecture, layout, align, validation |
| The right-hand id [ ] is modified to traverse the group… | validation | error | architecture, edge, group-boundary, validation |
| Packet block - is invalid. End must be greater than start. | exception | error | mermaid, packet, parsing, validation |
| The group [ ]'s parent does not exist. Please make sure the… | validation | error | architecture, hierarchy, ordering, group |
| No such shape: . Please check your syntax. | validation | error | render, shapes, nodes, validation |
| It is not possible to have actors with the same id, even if… | exception | error | sequence, participant, create, duplicate-id, validation |
| Packet block - is not contiguous. It should start from . | exception | error | mermaid, packet, parsing, validation |
| Group nodes can only have label. Remove the additional… | exception | error | state, composite-node, label, validation |
| No diagram type detected matching given configuration for… | validation | error | mermaid, detection, diagram, unknown-diagram |
| Line : Empty node — expected a filename or directory name… | validation | error | treeview, box-drawing, preprocessor, empty-node, validation |
| C4 rel " " -> " " references an unknown shape | exception | error | c4, relationship, reference, alias |
| Columns must be an integer !== 0. | validation | error | block, layout, validation, grid |
| " " has invalid value: . Negative values are not allowed in… | exception | error | mermaid, pie, parsing, validation |
| Icon name must contain a prefix | validation | error | icons, validation, iconify, configuration |
| Invalid icon loader. Must have a "name" property with… | validation | error | icons, configuration, registericonpacks, validation |
| A same participant should only be defined in one Box | exception | error | sequence, participant, box, conflict, validation |
| Diagram not found. | exception | error | mermaid, diagram, registry, loader, unknown-diagram |
| Failed to load external diagrams | exception | error | mermaid, loader, external-diagram, network, dynamic-import |
| Invalid direction given for left hand side of edge | validation | error | architecture, edge, validation, direction |
| Icon not found | exception | error | icons, iconify, validation, rendering |
| The junction id [ ] is already in use by another | validation | error | architecture, mermaid, validation, duplicate-id, junction |
| Pipeline " " must reference an existing component with… | exception | error | wardley, pipeline, missing-reference, coordinates, validation |
| unknown set identifier | validation | error | venn, set-identifier, validation, ordering |
| The left-hand id [ ] does not yet exist. Please create the… | validation | error | architecture, edge, ordering, reference |
| The created participant | exception | error | sequence, participant, create, message-flow, validation |
| align lists [ ] more than once | validation | error | architecture, layout, align, duplicate |
| The group [ ] cannot be placed within itself | validation | error | architecture, hierarchy, validation, group |
| style named is not supported. | validation | error | mermaid, quadrant-chart, parsing, validation |
| end should have been set during first phase | exception | error | mermaid, packet, parsing, internal-invariant |
| Nodes array is required in layout data | validation | error | layout, validation, nodes, type-mismatch |
| Invalid direction given for right hand side of edge | validation | error | architecture, edge, validation, direction |
| Configuration is required in layout data | validation | error | layout, validation, config |
| Node " " is missing coordinates | exception | error | wardley, coordinates, builder, validation |
| Root node is required | validation | error | layout, cose-bilkent, validation, graph |
| The destroyed participant | exception | error | sequence, participant, destroy, message-flow, validation |
| The group id [ ] is already in use by another | validation | error | architecture, mermaid, validation, duplicate-id, group |
| The service [ ]'s parent does not exist. Please make sure… | validation | error | architecture, mermaid, validation, parent, ordering |
| The index for linkStyle is out of bounds. Valid indices for… | exception | error | |
| The service [ ] cannot be placed within itself | validation | error | architecture, mermaid, validation, cycle, parent |
| The service [ ]'s parent is not a group | validation | error | architecture, mermaid, validation, parent, group |
| The junction [ ]'s parent does not exist. Please make sure… | validation | error | architecture, mermaid, validation, parent, ordering, junction |
| The junction [ ] cannot be placed within itself | validation | error | architecture, mermaid, validation, cycle, junction |
| The right-hand id [ ] does not yet exist. Please create the… | validation | error | architecture, edge, ordering, reference |
| The junction [ ]'s parent is not a group | validation | error | architecture, mermaid, validation, parent, group, junction |