Skip to content

Commit

Permalink
feat: C
Browse files Browse the repository at this point in the history
  • Loading branch information
sdjalft committed Aug 4, 2022
1 parent dd99f33 commit 5ae359b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/layout/src/graphviz/edge.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ class BaseEdge extends Edge {
let finalValue = ''
for (let cc = 0; cc < movedD2.length; cc++) {
if (cc === 0) {
finalValue += `M${movedD2[cc]}C`;
finalValue += `M${movedD2[cc]}`;
} else if (cc !== movedD2.length - 1){
finalValue += `${movedD2[cc]} `;
finalValue += `${cc % 3 === 1 ? 'C' : ''}${movedD2[cc]} `;
} else {
finalValue += `${movedD2[cc]}`;
}
Expand Down

0 comments on commit 5ae359b

Please sign in to comment.