Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@mermaid-js/parser does not parse flowchart #5742

Open
lhy666 opened this issue Aug 23, 2024 · 3 comments
Open

@mermaid-js/parser does not parse flowchart #5742

lhy666 opened this issue Aug 23, 2024 · 3 comments

Comments

@lhy666
Copy link

lhy666 commented Aug 23, 2024

Description

when i use @mermaid-js/parser

its error

Steps to reproduce

import {parse} from '@mermaid-js/parser'

const mermaidGraph = graph TD A[Start] --> B{Is it?} B -- Yes --> C[OK] B -- No --> D[Not OK];
parse('info', mermaidGraph)

Screenshots

image

Code Sample

No response

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

@lhy666 lhy666 added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Aug 23, 2024
@sidharthv96
Copy link
Member

Parser does not support graph/flowchart yet. We are gradually migrating the diagrams.

@sidharthv96 sidharthv96 changed the title @mermaid-js/parser parse error @mermaid-js/parser does not parse flowchart Aug 24, 2024
@sidharthv96 sidharthv96 added Type: Enhancement New feature or request Graph: Flow Area: Development Internals: Parser and removed Type: Bug / Error Something isn't working or is incorrect Status: Triage Needs to be verified, categorized, etc labels Aug 24, 2024
@QbitCoding
Copy link

Does parser support erDiagram?

@sidharthv96
Copy link
Member

Not yet.
You can find the list of diagrams here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants