Skip to content
Snippets Groups Projects
Commit 1a80927e authored by William Schultz's avatar William Schultz Committed by Markus Alexander Kuppe
Browse files

Update comment about action to color map

parent 637b30bf
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,9 @@ public class DotStateWriter extends StateWriter { ...@@ -58,7 +58,9 @@ public class DotStateWriter extends StateWriter {
// https://www.graphviz.org/doc/info/colors.html for more details on color schemes. // https://www.graphviz.org/doc/info/colors.html for more details on color schemes.
static String dotColorScheme = "paired12"; static String dotColorScheme = "paired12";
// A mapping of action names to their assigned color ids. // A mapping of action names to their assigned color ids. Since states are fed into a StateWriter
// incrementally, one at a time, this table is built up over time, adding new actions as we find
// out about them.
HashMap<String, Integer> actionToColors = new HashMap<>(); HashMap<String, Integer> actionToColors = new HashMap<>();
// Determines whether or not transition edges should be colorized in the state graph. // Determines whether or not transition edges should be colorized in the state graph.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment