Skip to content

Commit 497ad1c

Browse files
committed
Remove transparent background from figure.
Before this change, the figure presented black text on transparent background, which might be unconvenient when using a browser able to pass a dark theme preference to some environments where this document is published, currently notably GitHub. A white background could help a better visualization compromise. White background on the figure is the single purpose of this revision. This PNG was compiled using: dot -Tpng states.gv -o states.png
1 parent bfc4a72 commit 497ad1c

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

bip-0009/states.gv

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* There are many ways to compile this, but one of them is:
2+
*
3+
* $ dot -Tpng states.gv -o states.png
4+
*/
5+
digraph {
6+
/* States. */
7+
DEFINED; FAILED; STARTED; LOCKED_IN; ACTIVE;
8+
9+
/* Relationships between states, labeled where applicable. */
10+
DEFINED -> DEFINED;
11+
DEFINED -> FAILED [label = "timeout ≤ MTP"];
12+
DEFINED -> STARTED [label = "starttime ≤ MTP < timeout"];
13+
FAILED -> FAILED;
14+
STARTED -> STARTED;
15+
STARTED -> FAILED [label = "timeout ≤ MTP"];
16+
STARTED -> LOCKED_IN [label = "(MTP < timeout) AND (threshold reached)"];
17+
LOCKED_IN -> ACTIVE [label = "Always"];
18+
ACTIVE -> ACTIVE;
19+
20+
/* Visualization hack to unclutter output. */
21+
nodesep = 1.2;
22+
}

bip-0009/states.png

19.1 KB
Loading

0 commit comments

Comments
 (0)