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

feat: support maxEdges, maxTextSize and more params in mermaid config and release v1.1.0 🚀 #68

Merged
merged 16 commits into from
Jul 10, 2024

Conversation

ad1992
Copy link
Member

@ad1992 ad1992 commented Jul 8, 2024

closes #58

The below params can be tweaked in the config

{
  startOnLoad?: boolean;
    flowchart?: {
      curve?: "linear" | "basis";
    };
    themeVariables?: {
      fontSize?: number;
    };
    maxEdges?: number;
    maxTextSize?: number;
}

The default config can be found in https://mermaid.js.org/schemas/config.schema.json

Copy link

vercel bot commented Jul 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
mermaid-to-excalidraw ✅ Ready (Inspect) Visit Preview Jul 10, 2024 3:19pm

@ad1992 ad1992 changed the title feat: support maxEdges and maxTextSize in mermaid config feat: support maxEdges and maxTextSize in mermaid config and release v1.1.0 🚀 Jul 10, 2024
@ad1992 ad1992 changed the title feat: support maxEdges and maxTextSize in mermaid config and release v1.1.0 🚀 feat: support maxEdges, maxTextSize and more params in mermaid config and release v1.1.0 🚀 Jul 10, 2024
@ad1992 ad1992 merged commit 73ab442 into master Jul 10, 2024
2 checks passed
@ad1992 ad1992 deleted the aakansha/config branch July 10, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

feat: Allow passing config to mermaid diagram
1 participant