rye,
@rye@ioc.exchange avatar

I want to build a front end system that renders mermaid diagrams based on the user input. Any insight to how I could structure this or who to ask?

tanepiper,
@tanepiper@tane.codes avatar

@rye @ferrata In what sense? Recently just wrote this tool for creating mermaid visualisations of our content model - but this isn't real time, it's based on parsing the models - but I guess it's the same idea?

Code for creating a mermaid graph from a model

rye,
@rye@ioc.exchange avatar

@tanepiper @ferrata oh this is excellent.

tanepiper,
@tanepiper@tane.codes avatar

@rye @ferrata Thanks 😅 There is of course https://mermaid.live/edit as well that can work with any model - but haven't found a way (or a need) to be that flexible

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • ngwrru68w68
  • tacticalgear
  • JUstTest
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines