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. 120 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| No nodes found in layout data | validation | error | layout, validation, tidy-tree, nodes |
| No nodes available to create tree | validation | error | layout, tidy-tree, defensive, nodes |
| Layout data is required | validation | error | layout, validation, null-check |
| Configuration is required in layout data | validation | error | layout, validation, config |
| Nodes array is required in layout data | validation | error | layout, validation, nodes, type-mismatch |
| Edges array is required in layout data | validation | error | layout, validation, edges, type-mismatch |
| Diagram ${type} not found. | exception | error | mermaid, diagram, registry, loader, unknown-diagram |
| No diagram type detected matching given configuration for te | validation | error | mermaid, detection, diagram, unknown-diagram |
| Diagrams beginning with --- are not valid. If you were tryin | validation | error | mermaid, front-matter, yaml, diagram, parse |
| Diagram ${name} not found. | exception | error | mermaid, registry, diagram, lookup, not-found |
| Failed to load ${failed.length} external diagrams | exception | error | mermaid, loader, external-diagram, network, dynamic-import |
| The service id [${id}] is already in use by another ${this.r | validation | error | architecture, mermaid, validation, duplicate-id, service |
| The service [${id}] cannot be placed within itself | validation | error | architecture, mermaid, validation, cycle, parent |
| The service [${id}]'s parent does not exist. Please make sur | validation | error | architecture, mermaid, validation, parent, ordering |
| The service [${id}]'s parent is not a group | validation | error | architecture, mermaid, validation, parent, group |
| The junction id [${id}] is already in use by another ${this. | validation | error | architecture, mermaid, validation, duplicate-id, junction |
| The junction [${id}] cannot be placed within itself | validation | error | architecture, mermaid, validation, cycle, junction |
| The junction [${id}]'s parent does not exist. Please make su | validation | error | architecture, mermaid, validation, parent, ordering, junction |
| The junction [${id}]'s parent is not a group | validation | error | architecture, mermaid, validation, parent, group, junction |
| The group id [${id}] is already in use by another ${this.reg | validation | error | architecture, mermaid, validation, duplicate-id, group |
| The group [${id}] cannot be placed within itself | validation | error | architecture, hierarchy, validation, group |
| The group [${id}]'s parent does not exist. Please make sure | validation | error | architecture, hierarchy, ordering, group |
| The group [${id}]'s parent is not a group | validation | error | architecture, hierarchy, type-mismatch, group |
| Invalid direction given for left hand side of edge ${lhsId}- | validation | error | architecture, edge, validation, direction |
| Invalid direction given for right hand side of edge ${lhsId} | validation | error | architecture, edge, validation, direction |
| The left-hand id [${lhsId}] does not yet exist. Please creat | validation | error | architecture, edge, ordering, reference |
| The right-hand id [${rhsId}] does not yet exist. Please crea | validation | error | architecture, edge, ordering, reference |
| The left-hand id [${lhsId}] is modified to traverse the grou | validation | error | architecture, edge, group-boundary, validation |
| The right-hand id [${rhsId}] is modified to traverse the gro | validation | error | architecture, edge, group-boundary, validation |
| An align directive requires at least two members; got ${hint | validation | error | architecture, layout, align, validation |
| align ${hint.direction} references [${id}], which is not a s | validation | error | architecture, layout, align, type-mismatch |
| align ${hint.direction} lists [${id}] more than once | validation | error | architecture, layout, align, duplicate |
| Architecture layout failed: a declared `align row|column` di | exception | error | architecture, layout, fcose, constraint-conflict, render-time |
| Columns must be an integer !== 0. | validation | error | block, layout, validation, grid |
| Position must be a non-negative integer.${position} | validation | error | block, layout, validation, grid |
| C4: no shape handler for "${node.shape}" | exception | error | c4, shape, internal, renderer |
| C4 shape "${fromNode.alias}" has no intersect function. Plea | exception | error | c4, shape, internal, bug, relationship |
| C4 rel "${rel.from}" -> "${rel.to}" references an unknown sh | exception | error | c4, relationship, reference, alias |
| Could not calculate intersection points for rel "${rel.from} | exception | error | c4, relationship, geometry, render-time |
| Class not found: ${id} | exception | error | class, lookup, reference, sanitization |
| No data for EventModel | exception | error | |
| Target box not found for frame ${command.frame.name} | exception | error | |
| EventModeling config not found | exception | error | |
| No such shape: ${doc.shape}. Shape names should be lowercase | exception | error | |
| No such shape: ${doc.shape}. | exception | error | |
| Edge limit exceeded. ${this.edges.length} edges found, but t | exception | error | |
| The index ${pos} for linkStyle is out of bounds. Valid indic | exception | error | |
| Failed to find a valid date that was not excluded by `exclud | exception | error | |
| Invalid date:${str} | exception | error | |
| Trying to create an existing branch. (Help: Either use a new | exception | error | |
| Cannot merge branch '${otherBranch}' into itself. | exception | error | |
| Incorrect usage of "cherryPick". Source commit id should exi | exception | error | |
| Commit not found for key ${key} | exception | error | |
| Closest parent not found for commit ${commit.id} | exception | error | |
| Closest parent position not found for commit ${commit.id} | exception | error | |
| Branch not found for commit ${commit.id} | exception | error | |
| Tag bbox not found | exception | error | |
| Position were undefined for commit ${commit.id} | exception | error | |
| Commit positions not found for commits ${commitA.id} and ${c | exception | error | mermaid, gitgraph, rendering, data-integrity |
| Line definition not found | exception | error | mermaid, gitgraph, rendering, geometry, internal-invariant |
| Position not found for branch ${branch.name} | exception | error | mermaid, gitgraph, rendering, internal-invariant |
| Items without section detected, found section ("${nodes[i].l | exception | error | mermaid, kanban, parsing, data-integrity |
| No such shape: ${doc.shape}. Shape names should be lowercase | exception | error | mermaid, kanban, parsing, validation |
| Groups within groups are not allowed in Kanban diagrams | exception | error | mermaid, kanban, rendering, internal-invariant |
| There can be only one root. No parent could be found for ("$ | exception | error | mermaid, mindmap, parsing, data-integrity |
| Packet block ${start} - ${end} is invalid. End must be great | exception | error | mermaid, packet, parsing, validation |
| Packet block ${start} - ${end ?? start} is not contiguous. I | exception | error | mermaid, packet, parsing, validation |
| Packet block ${start} is invalid. Cannot have a zero bit fie | exception | error | mermaid, packet, parsing, validation |
| start should have been set during first phase | exception | error | mermaid, packet, parsing, internal-invariant |
| end should have been set during first phase | exception | error | mermaid, packet, parsing, internal-invariant |
| Block start ${block.start} is greater than block end ${block | exception | error | mermaid, packet, parsing, internal-invariant |
| parser.parser?.yy was not a PacketDB. This is due to a bug w | exception | error | mermaid, packet, parsing, internal-invariant, integration |
| "${label}" has invalid value: ${value}. Negative values are | exception | error | mermaid, pie, parsing, validation |
| value for ${style} ${value} is invalid, please use a valid n | validation | error | mermaid, quadrant-chart, parsing, validation |
| value for ${style} ${value} is invalid, please use a valid h | validation | error | mermaid, quadrant-chart, parsing, validation |
| value for ${style} ${value} is invalid, please use a valid n | validation | error | mermaid, quadrant-chart, parsing, validation |
| style named ${key} is not supported. | validation | error | mermaid, quadrant-chart, parsing, validation |
| Axes must be populated before curves for reference entries | exception | error | radar, ordering, diagram-db, api-misuse |
| Missing entry for axis ${axis.label} | exception | error | radar, missing-data, diagram-db, validation |
| Parsing failed: ${lexerErrors} ${parserErrors} | validation | error | railroad, abnf, parser, syntax-error, langium |
| Parsing failed: ${lexerErrors} ${parserErrors} | validation | error | railroad, ebnf, parser, syntax-error, langium |
| Parsing failed: ${lexerErrors} ${parserErrors} | validation | error | railroad, peg, parser, syntax-error, langium |
| Parsing failed: ${lexerErrors} ${parserErrors} | validation | error | railroad, parser, syntax-error, langium |
| A same participant should only be defined in one Box: ${old. | exception | error | sequence, participant, box, conflict, validation |
| It is not possible to have actors with the same id, even if | exception | error | sequence, participant, create, duplicate-id, validation |
| The created participant ${this.state.records.lastCreated.nam | exception | error | sequence, participant, create, message-flow, validation |
| The destroyed participant ${this.state.records.lastDestroyed | exception | error | sequence, participant, destroy, message-flow, validation |
| Group nodes can only have label. Remove the additional descr | exception | error | state, composite-node, label, validation |
| State not found: ${trimmedId} | exception | error | state, internal-invariant, concurrency, diagram-db |
| Line ${origLineNo}: Empty node — expected a filename or dire | validation | error | treeview, box-drawing, preprocessor, empty-node, validation |
| Line ${origLineNo}: Unexpected indentation without box-drawi | validation | error | treeview, box-drawing, preprocessor, mixed-format, indentation |
| unknown set identifier: ${unknown.join(', ')} | validation | error | venn, set-identifier, validation, ordering |
| Node "${node.label}" is missing coordinates | exception | error | wardley, coordinates, builder, validation |
| ${context} must be between 0-1 (decimal) or 0-100 (percentag | validation | error | wardley, coordinates, range, validation, units |
| Pipeline "${pipeline.parent}" must reference an existing com | exception | error | wardley, pipeline, missing-reference, coordinates, validation |
| Nodes and querySelector are both undefined | exception | error | mermaid-api, run, options, dom, validation |
| Invalid icon loader. Must have a "name" property with non-em | validation | error | icons, configuration, registericonpacks, validation |
| Invalid icon loader. Must have either "icons" or "loader" pr | validation | error | icons, configuration, registericonpacks, validation |
| Invalid icon name: ${iconName} | validation | error | icons, validation, iconify, rendering |
| Icon name must contain a prefix: ${iconName} | validation | error | icons, validation, iconify, configuration |
| Icon set not found: ${data.prefix} | exception | error | icons, configuration, iconify, registry |
| Failed to load icon set: ${data.prefix} | exception | error | icons, network, iconify, async, loader |
| Icon not found: ${iconName} | exception | error | icons, iconify, validation, rendering |
| Layout data is required | validation | error | layout, cose-bilkent, validation, internal |
| Configuration is required in layout data | validation | error | layout, cose-bilkent, validation, configuration |
| Root node is required | validation | error | layout, cose-bilkent, validation, graph |
| No nodes found in layout data | validation | error | layout, cose-bilkent, validation, graph |
| Edges array is required in layout data | validation | error | layout, cose-bilkent, validation, graph |
| Unknown layout algorithm: ${data4Layout.layoutAlgorithm} | validation | error | layout, render, configuration, registry |
| Both layout algorithms ${algorithm} and ${fallback} are not | exception | error | layout, render, registry, configuration |
| No such shape: ${node.shape}. Please check your syntax. | validation | error | render, shapes, nodes, validation |
| The given radii are too small to create an arc between the p | exception | error | shapes, geometry, bow-tie, render |
| Could not find a suitable point for the given distance | exception | error | utils, geometry, edges, render |
| svg element not in render tree | exception | error | utils, dom, ssr, jsdom, text-measurement |
| Sandbox iframe #i${id} is missing its content document | exception | error | sandbox, security, dom, iframe, render |
| Unknown diagram type: ${diagramType} | validation | error | parser, validation, diagram-type, registry |
| Parsing failed: ${lexerErrors} ${parserErrors} | validation | error | parser, langium, syntax, mermaid, ast |
| Error: State name must be a single word. Found: "${yytext.tr | exception | error | state-diagram, jison, lexer, syntax, mermaid |
| union requires multiple identifiers | exception | error | venn, jison, grammar, syntax, mermaid |
| text requires set | exception | error | venn, jison, grammar, syntax, mermaid |