Skip to content

Commit

Permalink
Merge pull request #132 from ReCodEx/fix-pipelines-graph-display
Browse files Browse the repository at this point in the history
Fix broken boxes
  • Loading branch information
SemaiCZE committed Nov 6, 2017
2 parents 0df5a9a + 5af4c8f commit 9476622
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/helpers/dot.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const createDependency = (from, to, clusterTo = null) => {
return dep;
};

const createDotForPorts = ports =>
const createDotForPorts = (name, ports) =>
Object.keys(ports)
.map(portName => ports[portName].value)
.filter(value => value.length > 0)
Expand All @@ -22,8 +22,8 @@ const createDotForNodeFactory = dependencies => (
i
) => {
let hasFullSupport = true;
const inputs = createDotForPorts(portsIn);
const outputs = createDotForPorts(portsOut);
const inputs = createDotForPorts(name, portsIn);
const outputs = createDotForPorts(name, portsOut);

return `
subgraph cluster_${i} {
Expand Down

0 comments on commit 9476622

Please sign in to comment.