Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 1.35 KB

File metadata and controls

48 lines (28 loc) · 1.35 KB

Triton

Javascript powered Mermaid diagrams!

Usage

Clone the repo

yarn install

You can now render in a variety of outputs your Triton diagrams like this example:

ts-node examples/myDatabase.ts

It will output the result in the html folder, which you can preview in your browser!

Available diagrams

ER

new ER([link, link2, ...]])

Screenshot 2022-03-21 at 22 40 23

Graph

new Graph([root, root2, ...]])

Screenshot 2022-03-22 at 23 15 25

Mermaid

check the offical documentation here: https://mermaid-js.github.io/mermaid/#/

Related packages