elusive / diagrammable

Diagramming editor and viewer for mermaid text based diagrams.
0 stars 0 forks source link

Add Chart Selector with defaults for each diagram type #7

Closed elusive closed 2 years ago

elusive commented 2 years ago

From a static source file (diagrams.json) the example code for each type of diagram/chart will be made available to user in a view that allows toggling among the different diagrams.

when user selects one of the diagrams the example code should be set into the context and the user taken to the editor view.

the diagrams json can be converted into a js file and exported. this will also allow importing the enumeration of the diagram types so the correct type strings can be used in the example json as well as everywhere else.

elusive commented 2 years ago

Fixed by pull request #17