Separate dot attributes by comma's (#22786)

This commit is contained in:
Arnout Engelen 2017-04-25 08:07:15 -07:00 committed by GitHub
parent fde89e41dc
commit c10d03970b

View file

@ -648,11 +648,11 @@ import scala.util.control.NonFatal
builder.append(s" $inName -> $outName ") builder.append(s" $inName -> $outName ")
connection.portState match { connection.portState match {
case InReady case InReady
builder.append("[label=shouldPull; color=blue];") builder.append("[label=shouldPull, color=blue];")
case OutReady case OutReady
builder.append(s"[label=shouldPush; color=red];") builder.append(s"[label=shouldPush, color=red];")
case x if (x | InClosed | OutClosed) == (InClosed | OutClosed) case x if (x | InClosed | OutClosed) == (InClosed | OutClosed)
builder.append("[style=dotted; label=closed dir=both];") builder.append("[style=dotted, label=closed, dir=both];")
case _ case _
} }
builder.append("\n") builder.append("\n")