#1562 Updated handling of pointsarray when the point is already in the array

This commit is contained in:
Knut Sveidqvist
2020-07-21 12:01:08 +02:00
parent 211d6f4005
commit cb79302867
3 changed files with 33 additions and 6 deletions

View File

@@ -28,4 +28,22 @@ describe('Flowchart v2', () => {
{ flowchart: { diagramPadding: 0 } }
);
});
it('3: a link with correct arrowhead to a subgraph', () => {
imgSnapshotTest(
`flowchart TD
P1
P1 -->P1.5
subgraph P1.5
P2
P2.5(( A ))
P3
end
P2 --> P4
P3 --> P6
P1.5 --> P5
`,
{ flowchart: { diagramPadding: 0 } }
);
});