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

Is it possible to style an Entity Relation Diagram to indicate a difference in entities? #2385

Closed
pvilaca opened this issue Oct 7, 2021 · 1 comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Other Not an enhancement or a bug

Comments

@pvilaca
Copy link

pvilaca commented Oct 7, 2021

I can't seem to style any elements within my ERD.

Having an entity called PERSON, any of the following code results in a syntax error:

style PERSON fill:#f9f;

or

classDef className fill:#f9f; 
class PERSON className;

or

classDef default fill:#f9f;

Looking at the documentation, I should be able to use simple styling: https://mermaid-js.github.io/mermaid/#/entityRelationshipDiagram?id=styling

Basically I'm trying to make a high level ERD where I need to mark certain entities to indicate a difference.

Any help or advice would be appreciated. :-)

@pvilaca pvilaca added the Type: Other Not an enhancement or a bug label Oct 7, 2021
@github-actions github-actions bot added the Status: Triage Needs to be verified, categorized, etc label Oct 7, 2021
@pvilaca
Copy link
Author

pvilaca commented Oct 7, 2021

same as: #1932

@pvilaca pvilaca closed this as completed Oct 7, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Status: Triage Needs to be verified, categorized, etc Type: Other Not an enhancement or a bug
Projects
None yet
Development

No branches or pull requests

1 participant