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

at ER-diagram, EntityBox are drawn overlapped #4754

Open
graycat27 opened this issue Aug 21, 2023 · 1 comment
Open

at ER-diagram, EntityBox are drawn overlapped #4754

graycat27 opened this issue Aug 21, 2023 · 1 comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@graycat27
Copy link

Description

In the ER-diagram, Entity-Box and others Relation-Line are drawn overlapped,
This occur when one of branch has a lot child and the other does not have any childlen node.

Steps to reproduce

erDiagram
    Router ||--|| SwitchingHub : LAN10G
    Router ||--|| PrvZone : LAN
    SwitchingHub ||--|| Node01 : LAN
    SwitchingHub ||--|| Node02 : LAN
    SwitchingHub ||--|| Node03 : LAN
    SwitchingHub ||--|| Node04 : LAN
    SwitchingHub ||--|| Node05 : LAN
    SwitchingHub ||--|| Node06 : LAN
    Node06 {
        this_connection is_hidden_with_other_box
    }
Loading

Screenshots

image

Code Sample

erDiagram
    Router ||--|| SwitchingHub : LAN10G
    Router ||--|| PrvZone : LAN
    SwitchingHub ||--|| Node01 : LAN
    SwitchingHub ||--|| Node02 : LAN
    SwitchingHub ||--|| Node03 : LAN
    SwitchingHub ||--|| Node04 : LAN
    SwitchingHub ||--|| Node05 : LAN
    SwitchingHub ||--|| Node06 : LAN
    Node06 {
        this_connection is_hidden_with_other_box
    }

Setup

  • Mermaid version: Live Editor v10.3.0 | and also on GitHub(Today2023-08-21)
  • Browser and Version: Chrome 115.0.5790.173 (Official Build) (64bit) (cohort: M116_Stable_Control)

Suggested Solutions

No response

Additional Context

No response

@graycat27 graycat27 added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Aug 21, 2023
@jgreywolf jgreywolf added roadmap items to add to roadmap for auto workflow and removed roadmap items to add to roadmap for auto workflow labels Nov 16, 2023
@jgreywolf
Copy link
Contributor

@graycat27 In general there is not a lot of control with the layout, as that is handled by the dagre renderer. That said, we will look into this to see if there is anything that can be done via mermaid

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

2 participants