![]() I've also used GraphViz which was nice but had it's own quirks. I've used both GraphViz and Mermaid a little, I opted to use mermaid recently because of the live editor, didn't have to download any tools and saw my results right away which was very convenient. Since the graphs are styled via CSS a website could make sure all their graphs are styled consistently, and the style can be changed without having to regenerate the graphic. This allows graphics to be generated on the client side (kinda cool). I'm not an expert, but from what I've read mermaid has some nice tools that make it easy to integrate into websites such as styling via CSS and javascript libraries that convert mermaid to SVG. > Graphviz looks nicer both as diagram and markup honnestly the separation in two halves make it harder to read for me compared to the more direct approach of graphviz. ![]() They have a live editor here: knsv.gi thub.io/ mermaid/ live_editor/ > > On Saturday, 1 July 2017 at 19:19:09 UTC, Jonathan Marler wrote: It would be great to have that available permanently so we know how to improve it. (Do it!) At least at a point someone generated the global import graph for phobos. It would be nice if the D document generator also used it. The dot language can also be embedded directly in the comments. > That's what doxygen uses to generate call graphs, callee graphs, include hierarchies and other stuff. > On Friday, 30 June 2017 at 21:52:10 UTC, Brian Schott wrote: %% Declare Nodes With Spaces in their Name The syntax to create the given graph would be: You can view the diagram here: knsv.gi thub.io/ mermaid/ live_editor/ #/view/ Z3JhcGg gQlQKCiUl IERlY2xh cmUgTm9kZX MgV2l0aC BTcGFjZXM gaW4gdGh laXIgTmFtZ Qppbm91 dF9jb25zd Ftpbm91d CBjb25zdF0 Kc2hhcmV kX2NvbnN0 W3NoYXJlZ CBjb25zdF0 KaW5vdX Rfc2hhcmV kX2NvbnN 0W2lub3V0I HNoYXJlZ CBjb25zdF 0KaW5vdXR fc2hhcmVkW 2lub3V0I HNoYXJlZF 0KCiUlIE xlZnQgaGFu ZCBzaWRl IG9mIGdyY XBoCm11dG FibGUgLS0- IGNvbnN0 Cmlub3V0X2 NvbnN0IC0 tPiBjb25zdA ppbm91dCA tLT4gaW5vd XRfY29uc3 QKaW1tdXRhY mxlIC0tP iBpbm91dF9 jb25zdAoK JSUgUmlnaHQ gaGFuZCBz aWRlIG9mIG dyYXBoCmlt bXV0YWJsZSA tLT4gaW5 vdXRfc2hhc mVkX2Nvbn N0Cmlub3V0X 3NoYXJlZC AtLT4gaW5v dXRfc2hhcm VkX2NvbnN0C nNoYXJlZC AtLT4gc2hh cmVkX2Nvb nN0Cmlub3V0 X3NoYXJlZ F9jb25zdCA tLT4gc2hhc mVkX2NvbnN0 They have a live editor here: knsv.gi thub.io/ mermaid/ live_editor/ > A DAG like the sketch at would be easy to follow - all paths are possible conversions. While complete and informative, it doesn't quickly give an intuition. html#implicit_ conversions documenting how implicit conversions work across qualifiers. > Currently we have a nice table at / spec/ const3. On Friday, 30 June 2017 at 21:40:05 UTC, Andrei Alexandrescu wrote: How do I place the whole thing upside down? Thanks! - Andreiįreedom: (n.) Man's self-given right to be enslaved by his own depravity. > dot -Tsvg conversions.dot > conversions.svg > "inout shared const" -> "shared const" > "inout shared" -> "inout shared const" > What would be a nice tool to render this DAG online? Who'd want to work on inserting this? Ideally it would be some vector rendering. > On Friday, 30 June 2017 at 21:40:05 UTC, Andrei Alexandrescu wrote: On Fri, at 05:55:34PM -0400, Andrei Alexandrescu via Digitalmars-d wrote:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |