Skip to content

Subgraph styling with classes fails to work when the subgraph is linked to other nodes. #6191

Open
@kovasap

Description

@kovasap

Description

When I try to use a class to style a subgraph that is linked to other nodes, the class does not apply.

Steps to reproduce

  1. See the linked code sample.

Screenshots

No response

Code Sample

https://develop.git.mermaid.live/edit#pako:eNpVkU1PwzAMhv-KFTRx2ThxKhKnXSYhIcEBCcIhbZw1aupUiatumvbfcejWwSWJ7ccfr3NSTbSoKuVCnJrWJIaXtydNAE0wOW_RwYApRwLnQ6ju6tqtM6fY4WbyltvqcThoKnwe630yQwt95BZTcXkiTF9a7cqt1XfxIdlyrVbwEVOXL-_Mx4CXzFunubCEXykcYSo8TC0SCHbr5zNQZAieOrTAEbQiPLBWl-Sd4BIrZy5wjY0ZM86VCgk2YqZ7Bjz4zKX4dao_LTihYalvvXOYkFgmMhmM9Lb4sCzsqmFe2iJg0TpDv4v5x8xpm81zGUitVY-pN97Kx5xKWCsJ96hVJU9rUlfUnYUzI8f3IzWq4jTiWqU47ltVOROyWONgZeitNyKjX7yDoc8Yr_b5BzEPsfg

Setup

  • Mermaid version: v11.4.1+bc2cc61
  • Browser and Version: Chrome

Suggested Solutions

No response

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageNeeds to be verified, categorized, etcType: Bug / ErrorSomething isn't working or is incorrect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions