Commit a64df787 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

bugfix: only bring the analyses to the front, not all the nodes blindly

This means that the purple blobs that represent conditional dataflows are
not put on top of the outgoing connections, and we can finally see which
condition goes to which analysis.
parent a1c0cf78
......@@ -63,7 +63,10 @@ function draw_diagram(xmlStr) {
g.node().appendChild(importedNode);
// We move to front all the nodes to avoid being hidden behind other elements
d3.selectAll("#pipeline_diagram .node").moveToFront();
d3.selectAll("#pipeline_diagram .node").filter(function(d, i) {
var t = $(this).children("title");
return t.length && $(t[0]).text().startsWith("analysis");
}).moveToFront();
}
// This is creating the pie charts in the pipeline diagram
......
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