Graph rendering on dlang.org

Brian Schott via Digitalmars-d digitalmars-d at puremagic.com
Fri Jun 30 14:52:10 PDT 2017


On Friday, 30 June 2017 at 21:40:05 UTC, Andrei Alexandrescu 
wrote:
> 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.

Graphviz's "dot" tool can output svg.


digraph "conversions" {
	"mutable" -> "const";
	"inout const" -> "const";
	"inout" -> "inout const";
	"immutable" -> "inout const";
	"immutable" -> "inout shared const";
	"inout shared" -> "inout shared const";
	"shared" -> "shared const";
	"inout shared const" -> "shared const";
}

dot -Tsvg conversions.dot > conversions.svg


More information about the Digitalmars-d mailing list