All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.chunks.mermaid.esm.min.chunk-4BPNZXC3.mjs Maven / Gradle / Ivy

Go to download

Markdown-ish syntax for generating flowcharts, mindmaps, sequence diagrams, class diagrams, gantt charts, git graphs and more.

There is a newer version: 11.4.0
Show newest version
import{D as i,e as u,s as o}from"./chunk-BKDDFIKN.mjs";import{a as d}from"./chunk-GTKDMUJJ.mjs";function l(e){var n={options:{directed:e.isDirected(),multigraph:e.isMultigraph(),compound:e.isCompound()},nodes:f(e),edges:s(e)};return i(e.graph())||(n.value=u(e.graph())),n}d(l,"write");function f(e){return o(e.nodes(),function(n){var r=e.node(n),a=e.parent(n),t={v:n};return i(r)||(t.value=r),i(a)||(t.parent=a),t})}d(f,"writeNodes");function s(e){return o(e.edges(),function(n){var r=e.edge(n),a={v:n.v,w:n.w};return i(n.name)||(a.name=n.name),i(r)||(a.value=r),a})}d(s,"writeEdges");export{l as a};




© 2015 - 2024 Weber Informatics LLC | Privacy Policy