July 01, 2017 Re: Graph rendering on dlang.org | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonathan Marler | On Saturday, 1 July 2017 at 22:09:49 UTC, Jonathan Marler wrote:
> I'm not sure what you meant in your comment by "the separation in two halves make it harder to read"....I've rewritten the same graph so it looks more like the GraphViz version:
>
> graph BT
> mutable --> const
> inout_const[inout const] --> const
> inout --> inout_const
> immutable --> inout_const
> immutable --> inout_shared_const[inout shared const]
> inout_shared[inout shared] --> inout_shared_const
> shared --> shared_const[shared const]
> inout_shared_const --> shared_const
That does look way nicer, thanks!
|
July 01, 2017 Re: Graph rendering on dlang.org | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | Try http://plantuml.com/ (based on dot). Paste @startuml hide circle hide empty attributes hide empty methods class "mutable" class "const" class "inout" class "inout const" class "immutable" class "shared" class "shared const" class "inout shared const" "mutable" -up-> "const" "inout const" -up-> "const" "inout" -up-> "inout const" "immutable" -up-> "inout const" "immutable" -up-> "inout shared const" "inout shared" -up-> "inout shared const" "shared" -up-> "shared const" "inout shared const" -up-> "shared const" @enduml http://www.plantuml.com/plantuml/svg/bOyz2i0W38LtJn7SUuNUnMf0GMinSUZjIuTA4wJGpVV3yqjC0S6dvZEQUB-n77o2OsvfwupqTWjoh86CyTaHWIsTtPRHFjhNdNYejDUk5AX6qGiKNSEW94nsGKPciC3IZsKTBEBVQJPSGVXY-vTBBc5-DrNdOqTT8ymB |
July 02, 2017 Re: Graph rendering on dlang.org | ||||
---|---|---|---|---|
| ||||
Posted in reply to Cym13 | On Saturday, 1 July 2017 at 20:53:07 UTC, Cym13 wrote:
> On Saturday, 1 July 2017 at 19:19:09 UTC, Jonathan Marler wrote:
>> On Friday, 30 June 2017 at 21:40:05 UTC, Andrei Alexandrescu wrote:
>>> [...]
>>
>> There's also mermaid. They have a live editor here: https://knsv.github.io/mermaid/live_editor/
>>
>> [...]
>
> 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.
My experience with GraphViz is that it's okay for simple, small diagrams but when I want to make something more complex it can be incredibly frustrating to make the digram look the way you want.
I didn't try Mermaid or any other visualization tools, though.
|
Copyright © 1999-2021 by the D Language Foundation