Hidden nodes can cause computation issues #6452
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
Sometime, when building edges from a hidden node (~= width = 0), Mermaid fails and throws an error
Could not find a suitable point for the given distance
.Steps to reproduce
Unknown besides the specific sample provided below.
Screenshots
No response
Code Sample
See it live
Setup
Suggested Solutions
No response
Additional Context
hidden
classDef to provide a width will avoid the bug:classDef hidden width: 1px, height: 0px;
(edit: height also needs to be set at 1px in some cases)
The text was updated successfully, but these errors were encountered: