Closed michele-nuzzi closed 1 day ago
btw loops are displayed strangely here on GitHub for some reason
Have the same problem. I had to downgrade to 1.23.1.
Here is an example that crashes or miss-renders in 1.24.0:
graph TD
MachineConf -->|createMachine| m([Machine])
m -->|.provide| m
subgraph ActorLogic
m
end
ActorLogic -->|createActor| Actor
ActorLogic -->|useActor| Actor
ActorLogic -->|useMachine| Actor
ActorLogic -->|invoke| Actor
AsyncFunc -->|fromPromise| ActorLogic
callbackFunc -->|fromCallback| ActorLogic
graph TD
MachineConf -->|createMachine| m([Machine])
m -->|.provide| m
subgraph ActorLogic
m
end
ActorLogic -->|createActor| Actor
ActorLogic -->|useActor| Actor
ActorLogic -->|useMachine| Actor
ActorLogic -->|invoke| Actor
AsyncFunc -->|fromPromise| ActorLogic
callbackFunc -->|fromCallback| ActorLogic
How it used to look:
I confirmed out rendering matches mermaid.live in these cases
Please file an issue against Mermaid directly so they can investigate: https://github.com/mermaid-js/mermaid/issues
this is a chart that was working before 1.24.0 and broke with the last update
Workaround
manually install
1.23.1