Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ReCodEx/web-app into exer…
Browse files Browse the repository at this point in the history
…cise-localization-improvements
  • Loading branch information
Martin Krulis committed Nov 7, 2017
2 parents ff176a3 + 9476622 commit eb3ff2f
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 eb3ff2f

Please sign in to comment.