Skip to content

Conversation

@thomassimmer
Copy link

Hello 👋

This is for #166 .

The issue was that getShapeFromStyle was returning the "arrow" choice in case there was nothing in style variable, which is normal when we only specify an endShape. Having an arrow as chosenEndShape in createShapeObj caused the shape returned to be undefined, and in cascade, it generated this broken figure.

I believe that before choosing this default shape, the function should check if an arrow or a circle was specified in the shape.

Let me know what you think and take care :)
Thomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant