Elk renderer not wokring on empty subgraph #5402
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
When using the
elk
renderer when a subgraph is empty, I get the following error :Cannot read properties of null (reading 're')
Steps to reproduce
Screenshots
Code Sample
Here is my minimum reproducible example:
Here is my minimum reproducible example:
Works
:::mermaid
%%{init: {"flowchart": {"defaultRenderer": "dagre"}} }%%
flowchart TD
subgraph A
end
:::
Setup
Suggested Solutions
variable
re
seems to be at the root of the issue.Additional Context
No response
The text was updated successfully, but these errors were encountered: