summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2019-10-12 11:37:21 +0300
committerLars Wirzenius <liw@liw.fi>2019-10-12 11:37:21 +0300
commit2ee090748a209a621460e8616105bfdb9c8e853e (patch)
tree011cf04407adaa65990d33895a1594568f57e713
parent0cb84f03427e4159a08f18263784b907ccb87022 (diff)
downloadroadmap-2ee090748a209a621460e8616105bfdb9c8e853e.tar.gz
Change: finished steps are now octagons, circles were too big
-rw-r--r--legend.svg92
-rw-r--r--src/map.rs2
2 files changed, 47 insertions, 47 deletions
diff --git a/legend.svg b/legend.svg
index a7856d6..645c64d 100644
--- a/legend.svg
+++ b/legend.svg
@@ -4,75 +4,75 @@
<!-- Generated by graphviz version 2.40.1 (20161225.0304)
-->
<!-- Title: roadmap Pages: 1 -->
-<svg width="494pt" height="503pt"
- viewBox="0.00 0.00 493.75 503.09" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
-<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 499.0854)">
+<svg width="514pt" height="395pt"
+ viewBox="0.00 0.00 514.31 395.04" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 391.0432)">
<title>roadmap</title>
-<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-499.0854 489.7473,-499.0854 489.7473,4 -4,4"/>
-<!-- next -->
+<polygon fill="#ffffff" stroke="transparent" points="-4,4 -4,-391.0432 510.3147,-391.0432 510.3147,4 -4,4"/>
+<!-- goal -->
<g id="node1" class="node">
+<title>goal</title>
+<polygon fill="#00eeee" stroke="#000000" points="215.805,-136 76.805,-68 215.805,0 354.805,-68 215.805,-136"/>
+<text text-anchor="middle" x="215.805" y="-86.8" font-family="Times,serif" font-size="14.00" fill="#000000">This is the end goal:</text>
+<text text-anchor="middle" x="215.805" y="-71.8" font-family="Times,serif" font-size="14.00" fill="#000000">if we reach here, there</text>
+<text text-anchor="middle" x="215.805" y="-56.8" font-family="Times,serif" font-size="14.00" fill="#000000">is nothing more to be</text>
+<text text-anchor="middle" x="215.805" y="-41.8" font-family="Times,serif" font-size="14.00" fill="#000000">done in the project</text>
+</g>
+<!-- finished -->
+<g id="node2" class="node">
+<title>finished</title>
+<polygon fill="#eeeeee" stroke="#000000" points="229.4154,-202.4686 229.4154,-245.6213 162.2782,-276.1349 67.3319,-276.1349 .1946,-245.6213 .1946,-202.4686 67.3319,-171.955 162.2782,-171.955 229.4154,-202.4686"/>
+<text text-anchor="middle" x="114.805" y="-242.8449" font-family="Times,serif" font-size="14.00" fill="#000000">This task is finished;</text>
+<text text-anchor="middle" x="114.805" y="-227.8449" font-family="Times,serif" font-size="14.00" fill="#000000">the arrow indicates what</text>
+<text text-anchor="middle" x="114.805" y="-212.8449" font-family="Times,serif" font-size="14.00" fill="#000000">follows this task (unless</text>
+<text text-anchor="middle" x="114.805" y="-197.8449" font-family="Times,serif" font-size="14.00" fill="#000000">it&#39;s blocked)</text>
+</g>
+<!-- finished&#45;&gt;goal -->
+<g id="edge1" class="edge">
+<title>finished&#45;&gt;goal</title>
+<path fill="none" stroke="#000000" d="M148.7175,-171.6501C157.6871,-157.7922 167.442,-142.7208 176.664,-128.4729"/>
+<polygon fill="#000000" stroke="#000000" points="179.8298,-130.023 182.3253,-119.7262 173.9534,-126.2194 179.8298,-130.023"/>
+</g>
+<!-- next -->
+<g id="node3" class="node">
<title>next</title>
-<ellipse fill="#0cc000" stroke="#000000" cx="87.6812" cy="-457.6087" rx="87.8629" ry="26.7407"/>
-<text text-anchor="middle" x="87.6812" y="-461.4087" font-family="Times,serif" font-size="14.00" fill="#000000">This task is chosen </text>
-<text text-anchor="middle" x="87.6812" y="-446.4087" font-family="Times,serif" font-size="14.00" fill="#000000">to be done next</text>
+<ellipse fill="#0cc000" stroke="#000000" cx="219.805" cy="-349.5666" rx="87.8629" ry="26.7407"/>
+<text text-anchor="middle" x="219.805" y="-353.3666" font-family="Times,serif" font-size="14.00" fill="#000000">This task is chosen </text>
+<text text-anchor="middle" x="219.805" y="-338.3666" font-family="Times,serif" font-size="14.00" fill="#000000">to be done next</text>
</g>
<!-- blocked -->
<g id="node4" class="node">
<title>blocked</title>
-<polygon fill="#f4bada" stroke="#000000" points="255.6812,-304.566 115.6812,-304.566 115.6812,-251.566 255.6812,-251.566 255.6812,-304.566"/>
-<text text-anchor="middle" x="185.6812" y="-289.366" font-family="Times,serif" font-size="14.00" fill="#000000">This task is blocked</text>
-<text text-anchor="middle" x="185.6812" y="-274.366" font-family="Times,serif" font-size="14.00" fill="#000000">and can&#39;t be done until</text>
-<text text-anchor="middle" x="185.6812" y="-259.366" font-family="Times,serif" font-size="14.00" fill="#000000">something happens</text>
+<polygon fill="#f4bada" stroke="#000000" points="387.805,-250.5449 247.805,-250.5449 247.805,-197.5449 387.805,-197.5449 387.805,-250.5449"/>
+<text text-anchor="middle" x="317.805" y="-235.3449" font-family="Times,serif" font-size="14.00" fill="#000000">This task is blocked</text>
+<text text-anchor="middle" x="317.805" y="-220.3449" font-family="Times,serif" font-size="14.00" fill="#000000">and can&#39;t be done until</text>
+<text text-anchor="middle" x="317.805" y="-205.3449" font-family="Times,serif" font-size="14.00" fill="#000000">something happens</text>
</g>
<!-- next&#45;&gt;blocked -->
<g id="edge4" class="edge">
<title>next&#45;&gt;blocked</title>
-<path fill="none" stroke="#000000" d="M102.3528,-430.7293C119.3613,-399.5686 147.4594,-348.0911 166.2652,-313.6375"/>
-<polygon fill="#000000" stroke="#000000" points="169.3507,-315.29 171.0696,-304.8355 163.2063,-311.9362 169.3507,-315.29"/>
-</g>
-<!-- finished -->
-<g id="node2" class="node">
-<title>finished</title>
-<ellipse fill="#eeeeee" stroke="#000000" cx="379.6812" cy="-278.066" rx="106.1321" ry="106.1321"/>
-<text text-anchor="middle" x="379.6812" y="-296.866" font-family="Times,serif" font-size="14.00" fill="#000000">This task is finished;</text>
-<text text-anchor="middle" x="379.6812" y="-281.866" font-family="Times,serif" font-size="14.00" fill="#000000">the arrow indicates what</text>
-<text text-anchor="middle" x="379.6812" y="-266.866" font-family="Times,serif" font-size="14.00" fill="#000000">follows this task (unless</text>
-<text text-anchor="middle" x="379.6812" y="-251.866" font-family="Times,serif" font-size="14.00" fill="#000000">it&#39;s blocked)</text>
-</g>
-<!-- goal -->
-<g id="node3" class="node">
-<title>goal</title>
-<polygon fill="#00eeee" stroke="#000000" points="282.6812,-136 143.6812,-68 282.6812,0 421.6812,-68 282.6812,-136"/>
-<text text-anchor="middle" x="282.6812" y="-86.8" font-family="Times,serif" font-size="14.00" fill="#000000">This is the end goal:</text>
-<text text-anchor="middle" x="282.6812" y="-71.8" font-family="Times,serif" font-size="14.00" fill="#000000">if we reach here, there</text>
-<text text-anchor="middle" x="282.6812" y="-56.8" font-family="Times,serif" font-size="14.00" fill="#000000">is nothing more to be</text>
-<text text-anchor="middle" x="282.6812" y="-41.8" font-family="Times,serif" font-size="14.00" fill="#000000">done in the project</text>
-</g>
-<!-- finished&#45;&gt;goal -->
-<g id="edge1" class="edge">
-<title>finished&#45;&gt;goal</title>
-<path fill="none" stroke="#000000" d="M335.1558,-181.6404C327.5669,-165.2057 319.8473,-148.488 312.7471,-133.1114"/>
-<polygon fill="#000000" stroke="#000000" points="315.7827,-131.3367 308.4128,-123.7251 309.4275,-134.2713 315.7827,-131.3367"/>
+<path fill="none" stroke="#000000" d="M240.349,-323.2531C254.9507,-304.5508 274.7115,-279.2406 290.6186,-258.8662"/>
+<polygon fill="#000000" stroke="#000000" points="293.5553,-260.7922 296.9505,-250.7561 288.0378,-256.4844 293.5553,-260.7922"/>
</g>
<!-- blocked&#45;&gt;goal -->
<g id="edge2" class="edge">
<title>blocked&#45;&gt;goal</title>
-<path fill="none" stroke="#000000" d="M197.9664,-251.461C211.6819,-221.7581 234.3749,-172.6136 252.8233,-132.6612"/>
-<polygon fill="#000000" stroke="#000000" points="256.0362,-134.052 257.0509,-123.5058 249.681,-131.1174 256.0362,-134.052"/>
+<path fill="none" stroke="#000000" d="M300.2706,-197.2199C287.8926,-178.2833 270.8057,-152.1429 255.237,-128.3251"/>
+<polygon fill="#000000" stroke="#000000" points="257.9825,-126.1283 249.5814,-119.6729 252.1232,-129.9583 257.9825,-126.1283"/>
</g>
<!-- ready -->
<g id="node5" class="node">
<title>ready</title>
-<ellipse fill="#ffffff" stroke="#000000" cx="283.6812" cy="-457.6087" rx="90.5193" ry="37.4533"/>
-<text text-anchor="middle" x="283.6812" y="-468.9087" font-family="Times,serif" font-size="14.00" fill="#000000">This task is ready </text>
-<text text-anchor="middle" x="283.6812" y="-453.9087" font-family="Times,serif" font-size="14.00" fill="#000000">to be done: it is not</text>
-<text text-anchor="middle" x="283.6812" y="-438.9087" font-family="Times,serif" font-size="14.00" fill="#000000">blocked by anything</text>
+<ellipse fill="#ffffff" stroke="#000000" cx="415.805" cy="-349.5666" rx="90.5193" ry="37.4533"/>
+<text text-anchor="middle" x="415.805" y="-360.8666" font-family="Times,serif" font-size="14.00" fill="#000000">This task is ready </text>
+<text text-anchor="middle" x="415.805" y="-345.8666" font-family="Times,serif" font-size="14.00" fill="#000000">to be done: it is not</text>
+<text text-anchor="middle" x="415.805" y="-330.8666" font-family="Times,serif" font-size="14.00" fill="#000000">blocked by anything</text>
</g>
<!-- ready&#45;&gt;blocked -->
<g id="edge3" class="edge">
<title>ready&#45;&gt;blocked</title>
-<path fill="none" stroke="#000000" d="M263.613,-420.8423C246.5107,-389.5098 222.0826,-344.7558 205.1534,-313.7404"/>
-<polygon fill="#000000" stroke="#000000" points="208.02,-311.6868 200.1567,-304.5861 201.8757,-315.0405 208.02,-311.6868"/>
+<path fill="none" stroke="#000000" d="M387.7222,-313.5971C374.3068,-296.4143 358.3162,-275.933 345.0155,-258.897"/>
+<polygon fill="#000000" stroke="#000000" points="347.6379,-256.5685 338.7252,-250.8402 342.1204,-260.8763 347.6379,-256.5685"/>
</g>
</g>
</svg>
diff --git a/src/map.rs b/src/map.rs
index be81216..ff7e4f9 100644
--- a/src/map.rs
+++ b/src/map.rs
@@ -191,7 +191,7 @@ impl Roadmap {
fn get_status_shape(step: &Step) -> &str {
match step.status() {
Status::Blocked => "rectangle",
- Status::Finished => "circle",
+ Status::Finished => "octagon",
Status::Ready => "ellipse",
Status::Next => "ellipse",
Status::Goal => "diamond",