Browse Source

Resize the DAG img in the readme

Vadim Markovtsev 7 years ago
parent
commit
dda9325abc
3 changed files with 5 additions and 2 deletions
  1. 1 1
      README.md
  2. 4 1
      doc/dag.dot
  3. BIN
      doc/dag.png

+ 1 - 1
README.md

@@ -9,7 +9,7 @@ written in Go which takes a Git repository and runs a Directed Acyclic Graph (DA
 The second is the Python script which draws some predefined plots. These two tools are normally used together through
 a pipe. It is possible to write custom analyses using the plugin system.
 
-![git/git image](doc/dag.png)
+[![git/git image](doc/dag.png)](doc/dag_original.png)
 <p align="center">The DAG of burndown and couples analyses with UAST diff refining. Generated with <code>hercules -burndown -burndown-people -couples -feature=uast -dry-run -dump-dag doc/dag.dot https://github.com/src-d/hercules</code></p>
 
 ![git/git image](doc/linux.png)

+ 4 - 1
doc/dag.dot

@@ -1,4 +1,7 @@
 digraph Hercules {
+  rankdir="LR"
+  node [fontname="Roboto", shape=box, style=rounded]
+
   "6 BlobCache" -> "7 [blob_cache]"
   "0 DaysSinceStart" -> "3 [day]"
   "10 FileDiff" -> "12 [file_diff]"
@@ -24,4 +27,4 @@ digraph Hercules {
   "3 [day]" -> "17 Burndown"
   "12 [file_diff]" -> "16 FileDiffRefiner"
   "13 [uasts]" -> "14 UASTChanges"
-}
+}

BIN
doc/dag.png