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

Bug - Crowfoot notation on ERD rendering buggy #1353

Closed
chatelao opened this issue Mar 22, 2023 · 1 comment
Closed

Bug - Crowfoot notation on ERD rendering buggy #1353

chatelao opened this issue Mar 22, 2023 · 1 comment
Assignees
Labels
bug Something isn't working p:done The issue has been implemented or fixed

Comments

@chatelao
Copy link

chatelao commented Mar 22, 2023

Describe the bug
Der crowfoot relation cardinality "||-o{" is rendered strange. More like "-o{||".

To Reproduce

  1. Render this code:
entity DEPT {
**DEPTNO**: number(2), PK
}

entity EMP {
//DEPTNO//: number(2), FK
}

EMP::DEPTNO ||-o{ DEPT::DEPTNO
  1. This is the result on https://www.planttext.com
    IyqhoIofL71n3GXHgERIqW8n_ForjAmKyafparABD8mqTHG2lBbgkRXI8KfTVGE0AlNr8IhrzL5Kke5L0fLOMK7a5MfgTFEhmUR3XBW0

Expected behavior
Render the crowfoots as usual (i.e. described here):
https://plantuml.com/de/ie-diagram
image
=> But exactly on the attribute "DEPTNO"

Screenshots
See above

Desktop (please complete the following information):
No idea, the error occurs in our Confluence (with plugin) as well as on "planttext.com".

@arnaudroques arnaudroques added bug Something isn't working and removed triage labels Mar 22, 2023
@arnaudroques arnaudroques self-assigned this Mar 22, 2023
@arnaudroques arnaudroques added the p:wip Work in progress. Be patient :-) label Mar 23, 2023
@arnaudroques
Copy link
Contributor

For the record, it's a bug on GraphViz: when minlen=0, for some reason, only one triangle is drawn.
Compare minlen=1 and minlen=0.

However, since it's really annoying, we are going to find a way to turn around this bug... stay tuned :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p:done The issue has been implemented or fixed
Projects
None yet
Development

No branches or pull requests

2 participants