3 ms·
I tend to prefer diagrams as code, so yoi can just embed an image that be updated, version controlled, etc, instead of ascii diagrams. Any reason in particular
by arminiusreturns 6y ago
I tend to prefer diagrams as code, so yoi can just embed an image that be updated, version controlled, etc, instead of ascii diagrams. Any reason in particular you want ascii instead of images?
- ausjke 6y agopure text is easy to work with most of the time, in fact ascii diagram is used heaviyl in RFCs
- harikb 6y agoCan you describe what 'diagrams as code' mean? I don't mind images, just wondering if Github would make it easier to generate those. Something like the syntax of web-sequence/uml but not limited to data-flows and something more simpler, ideally.
- petepete 6y agoThere are a few tools for creating diagrams with text, Asciiflow and Monodraw probably being the most popular. * http://asciiflow.com/ http://asciiflow.com/ * https://monodraw.helftone.com/ https://monodraw.helftone.com/ From my experience, you don't want to add anything too complicated or anything that's volatile to code, but in some cases a high level overview of how bits of an application fit together can be handy. These days it might be a better idea to just embed or reference a PlantUML diagram instead. * https://plantuml.com/ https://plantuml.com/