From d533d648e4b3c0dadb03f08d8535d4b758c94342 Mon Sep 17 00:00:00 2001 From: Trevor Grayson Date: Tue, 22 Dec 2020 19:50:49 -0800 Subject: [PATCH] Real-Time Rendering DOT file using pointillism.io Learn more at https://pointillism.io --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a1ca5ae..26528d0 100644 --- a/README.md +++ b/README.md @@ -471,7 +471,7 @@ Files.write(mygraph.toDotGraph().getBytes(), new File("graph.dot")); You can render the generated file using Graphviz ([download here](http://www.graphviz.org/Download_macos.php), you may also need [X11](https://www.xquartz.org/)). Check out the [DOT language reference](http://www.graphviz.org/Documentation.php) if you want to understand the generated file, or read [NodeDotGraphGenerator.java](src/main/java/com/twitter/nodes/NodeDotGraphGenerator.java). A rendered graph looks like this: -![DOT dependency diagram](src/main/java/com/twitter/nodes_examples/search/graph.png "Rendered Depependency Graph from example code") +![DOT dependency diagram](https://pointillism.io/twitter/nodes/master/src/main/java/com/twitter/nodes_examples/search/graph.dot.png "Rendered Depependency Graph from example code") The type of the node is indicated by its shape, while the optionality of dependencies are represented by the edges connecting them.