diagrams / diagrams-graphviz

Graph layout and drawing with GraphViz and diagrams
BSD 3-Clause "New" or "Revised" License
9 stars 4 forks source link

Function for plotting a graph as simply as possible. #1

Closed leftaroundabout closed 8 years ago

leftaroundabout commented 8 years ago

While this library shines most when you actually use diagrams' capabilities to freely draw node designs, this is a bit overkill when one merely wants to visualise some topology. I wrote a simple function that just takes an unannotated graph and outputs a diagram with circles for nodes and correct spacings, arrow-head lengths etc..

The name and exact signature is of course debatable.

byorgey commented 8 years ago

This looks great, thanks!

byorgey commented 8 years ago

Uploaded as diagrams-graphviz-1.3.1.