Live data from Hacker News

Mermaid: Generate Diagrams and Flowcharts with Markdown Like Syntax

github.com

51–55 of 55 posts

Re: Mermaid: Generate Diagrams and Flowcharts with Markdown Like Syntax

#52

draw.io [1] has this hidden under Arrange->Insert->From Text and is also open source [2]. I work on the project. [1] https://www.draw.io [2] https://github.com/jgraph/draw.io

Draw.io is amazing. Thank you for the work you put in it.

Re: Mermaid: Generate Diagrams and Flowcharts with Markdown Like Syntax

#53

I was trying to make Graphviz produce all these types of charts using a Markdown DSL for version-control purposes, but like some said, it's kludgy. I'm mostly interested in a tool that can produce Flowchart, Sequence, Gantt, Dataflow, Class and Database diagrams using nothing but a CLI. I'd appreciate any recommendations.

Sequence: mscgen

Gantt: ?

Flowchart, dataflow, class, database: graphviz (eg. https://github.com/globalcitizen/mysqlviz)

Re: Mermaid: Generate Diagrams and Flowcharts with Markdown Like Syntax

#54

I was quite excited by this - I normally use mscgen ( http://www.mcternan.me.uk/mscgen/ ). Unfortunately, I can't find a way to break text strings onto multiple lines in ladder diagrams. Does anyone know how? One of the examples shows tags within a Note. The is stripped out and the text is wrapped onto multiple lines within the note box, but the wrapping is completely independent of the tags. ...and this doesn't work…

Use '\n' for line breaks, like so: a => b [label="POST /echo\nHello, it's me"]; (You might like https://mscgen.js.org b.t.w.)

Sorry, I meant I couldn't find a way to do the same thing as that in Mermaid - I realize my message wasn't very clear, but thanks for replying!

Re: Mermaid: Generate Diagrams and Flowcharts with Markdown Like Syntax

#55

draw.io [1] has this hidden under Arrange->Insert->From Text and is also open source [2]. I work on the project. [1] https://www.draw.io [2] https://github.com/jgraph/draw.io

The rack diagram is pretty nifty. Too bad it doesn't have my Sun Fire T2000 in it, though :(
Post reply on HN