Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Christian Müller
NIWO
Commits
e259d7c8
Commit
e259d7c8
authored
Oct 17, 2017
by
Christian Müller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix colors
parent
e31ba0ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/main/scala/de/tum/workflows/Encoding.scala
src/main/scala/de/tum/workflows/Encoding.scala
+1
-1
No files found.
src/main/scala/de/tum/workflows/Encoding.scala
View file @
e259d7c8
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment