day20: more diagramming

This commit is contained in:
efim
2023-12-20 13:52:29 +00:00
parent 727099dbd9
commit 53930e66ac
5 changed files with 146 additions and 135 deletions

View File

@@ -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)
}