Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect display of graph in latest version #5876

Open
whitelizard opened this issue Sep 19, 2024 · 0 comments
Open

Incorrect display of graph in latest version #5876

whitelizard opened this issue Sep 19, 2024 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@whitelizard
Copy link

Description

Graphs and diagrams miss-render in new version.

Steps to reproduce

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
Loading

Screenshots

How it used to look:

image

Code Sample

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

Setup

  • Mermaid version: 11.2

Suggested Solutions

No response

Additional Context

No response

@whitelizard whitelizard added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant