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

Diagram without the 'flow', or link nodes at same rank? #418

Closed
absolutejam opened this issue Nov 26, 2016 · 8 comments
Closed

Diagram without the 'flow', or link nodes at same rank? #418

absolutejam opened this issue Nov 26, 2016 · 8 comments
Labels
Type: New Shape Request for new shape

Comments

@absolutejam
Copy link

Apologies for creating an issue for this, but I wasn't sure of the best method to get in touch!

I've been toying with Graphviz, but I really what you're doing with mermaid. Is there any methods or plans to support connected nodes of the same rank?

Regards,
James.

@knsv
Copy link
Collaborator

knsv commented Nov 27, 2016 via email

@opengemara
Copy link

@tylerlong
Copy link
Collaborator

Could any one explain what is connected nodes of the same rank ?

And why do you think this is "needlessly complicated":

https://mermaidjs.github.io/mermaid-live-editor/#/edit/Z3JhcGggVEQKCkZhdGhlci0uTWFycmllZCAuLT4gTW90aGVyCgoKRmF0aGVyIC0tIEdhdmUgQmlydGggVG8gLS0+IENoaWxkCk1vdGhlciAtLSBHYXZlIEJpcnRoIFRvIC0tPiBDaGlsZA

How could we improve it? I am sorry but I don't have much background knowledge.

@DanielBaird
Copy link

@tylerlong usually when you're graphing family relationships, nodes in the same generation (such as husband and wife) should be alongside each other.

"Connected nodes of the same rank" would look like this, where the 'married' link doesn't force the Mother node to a lower position:

.--------.                  .--------.
| Father | - - married - -> | Mother |
'--------'                  '--------'
       \                      /
        \                    /
      gave birth to    gave birth to
          \                /
           \              /
            \            /
          .----------------.
          |     child      |
          '----------------'

For my use cases, my preferred syntax would let me say something like sameRank Father Mother.

@tylerlong
Copy link
Collaborator

tylerlong commented Mar 16, 2018

I've got it. I think it is an important feature! Thank you very much (especially for the ascii chart)!

@stale
Copy link

stale bot commented Jun 29, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Type: New Shape Request for new shape label Jun 29, 2019
@guideblade
Copy link

Any update? This feature would really help in creating not ugly flowcharts!

mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
Bumps [mocha](https://github.com/mochajs/mocha) from 9.1.1 to 9.1.2.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](mochajs/mocha@v9.1.1...v9.1.2)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@CAFxX
Copy link

CAFxX commented Oct 26, 2022

I opened a new issue for this problem: #3723

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: New Shape Request for new shape
Projects
None yet
Development

No branches or pull requests

7 participants