Skip to content

codeledge/triton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Javascript powered Mermaid diagrams

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published