Commit e259d7c8 authored by Christian Müller's avatar Christian Müller

fix colors

parent e31ba0ec
......@@ -203,7 +203,7 @@ object Encoding extends LazyLogging {
def edgeTransformer(innerEdge: WorkflowGraph#EdgeT): Option[(DotGraph, DotEdgeStmt)] = innerEdge.edge match {
case LDiEdge(source, target, label) => label match {
case label: SimpleBlock => {
val green = edges.contains(innerEdge.edge)
val green = edges.exists(_.label == label)
val color = List(DotAttr("color", if (green) "green" else "red"))
val labelled = if (label.nonEmpty) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment