You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would like to use mermaid internals from the npm module such as detectDirective from utils.ts as well as have the parsers exposed in an ala cart mode. So far it only looks like the mermaidAPI.ts methods are exposed.
My purpose is that I'm trying to create an erdiagram to sql exporter and would like to use mermaid js methods directly for serializing a markdown files and extracting models before the svg is generated.
it's looking like I might have to use mermaid.js as a git submodule b/c the methods aren't exposed in the npm package.
I'm having progress breaking out part, currently stuck on the jison lexer (which I believe I could get the erDiagram models that I need for serializing the sql create table statements).
Current Progress: (done)
imported some things directly from git submodule
some things I had to copy, typescript format slightly and remove unneeded dependencies and fix build errors
@lastlink I have a similar use case, I'm generating Mermaid ERD diagrams to represent data relationships in CSV files: https://github.com/nharsch/mermaid-erd-generator
I'm looking into migrating this from python -> JS (maybe ClojureScript) and using the mermaid library parsers directly in order to getEntitiesgetRelationships, etc. That way I could generate SQL output given an ERD string.
Would like to use mermaid internals from the npm module such as detectDirective from utils.ts as well as have the parsers exposed in an ala cart mode. So far it only looks like the mermaidAPI.ts methods are exposed.
My purpose is that I'm trying to create an erdiagram to sql exporter and would like to use mermaid js methods directly for serializing a markdown files and extracting models before the svg is generated.
it's looking like I might have to use mermaid.js as a git submodule b/c the methods aren't exposed in the npm package.
I'm having progress breaking out part, currently stuck on the jison lexer (which I believe I could get the erDiagram models that I need for serializing the sql create table statements).
Current Progress: (done)
dist\mermaid.core.mjs
build and required it.The text was updated successfully, but these errors were encountered: