day20: more diagramming
This commit is contained in:
@@ -204,6 +204,7 @@ func (c *Conjunction)StateSnapshot() string {
|
||||
|
||||
func (c *Conjunction)MermaidFlow() string {
|
||||
result := "\n"
|
||||
result += fmt.Sprintf("%s{%s}\n", c.Name, c.Name)
|
||||
for _, toName := range c.OutputNames {
|
||||
result += fmt.Sprintf("%s --> %s\n", c.Name, toName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user