npm npm
Magnify icon
  • All Packages
    • JavaScript
    • Python
    • Go
  • Code Examples
    • JavaScript
    • Python
  • Categories
    • JavaScript - Popular
    • JavaScript - Healthiest
    • Python - Popular
    • Python - Healthiest
  • Developer Tools
    • Vulnerability DB
    • Code Checker
    • Snyk Learn
    • Blog
Sign Up
  1. Advisor
  2. mermaid
  3. functions
View all mermaid analysis

Most popular functions for mermaid

To help you get started, we’ve selected a few mermaid examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

  • 1

    mermaid.init

    arrow
  • 2

    mermaid.initialize

    arrow
  • 3

    mermaid.mermaidAPI

    arrow
  • 4

    mermaid.mermaidAPI.initialize

    arrow
  • 5

    mermaid.mermaidAPI.parseError

    arrow
  • 6

    mermaid.mermaidAPI.render

    arrow
  • 7

    mermaid.parse

    arrow
  • 8

    mermaid.render

    arrow
  • 9

    mermaid.version

    arrow
  • 10

    mermaid/package.json.version

    arrow
  • 11

    mermaid/src/diagrams/class/classRenderer.draw

    arrow
  • 12

    mermaid/src/diagrams/class/classRenderer.setConf

    arrow
  • 13

    mermaid/src/diagrams/flowchart/flowRenderer.draw

    arrow
  • 14

    mermaid/src/diagrams/flowchart/flowRenderer.setConf

    arrow
  • 15

    mermaid/src/diagrams/gantt/ganttRenderer.draw

    arrow
  • 16

    mermaid/src/diagrams/gantt/ganttRenderer.setConf

    arrow
  • 17

    mermaid/src/diagrams/git/gitGraphRenderer.draw

    arrow
  • 18

    mermaid/src/diagrams/git/gitGraphRenderer.setConf

    arrow
  • 19

    mermaid/src/diagrams/sequence/sequenceRenderer.draw

    arrow
  • 20

    mermaid/src/diagrams/sequence/sequenceRenderer.setConf

    arrow

Product

  • Partners
  • Developers & DevOps Features
  • Enterprise Features
  • Pricing
  • API Status

Resources

  • Vulnerability DB
  • Blog
  • Learn
  • Documentation
  • Snyk API
  • Research
  • FAQs
  • npm packages list
  • JavaScript Code Examples
  • Browse all JavaScript packages

Company

  • About us
  • Customers
  • Jobs at Snyk
  • Legal Terms
  • Privacy
  • Press Kit
  • Events
  • Secure by Design

Connect

  • Book a demo
  • Contact us
  • Support
  • Report a new vuln

Security

  • JavaScript Security
  • Kubernetes Security
  • Container Security
  • Open Source Security
  • Secure SDLC

Find us online

Track our development

Snyk|Open Source Security Platform © 2025 Snyk Ltd.