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

Direction #550

Closed
vikram-rawat opened this issue Jul 7, 2017 · 7 comments
Closed

Direction #550

vikram-rawat opened this issue Jul 7, 2017 · 7 comments
Labels
Type: New Shape Request for new shape

Comments

@vikram-rawat
Copy link

Should Be able to control the direction of the flowchart..

Like
Say My main graph is going Left to Right ---------->>>>>>>>

but I want the subgraphs and decision graph to go from top to bottom

I am unable to do it....

It should be tidy enough to read and understand thus we need control for elements direction in simple arrows

A--TD-->B
A--BT-->B etc...

@vikram-rawat
Copy link
Author

Thanks for such a nice initiative. I really appreciate it. And if everything goes well we would never ever have to switch to visio or excel again.

I am more of a functional analyst and define process flow very often.

In mermaid you can not control the flow of sub graphs. It follows the same flow till the end.

But originally if the you want to define a sub process it should have a different direction so that it doesn't create noise on the graph

Like if main is TB
Sub should be LR or RL

If main is LR
Sub should be TB of BT

So on...

I read the documentation of mermaid it doesn't help us with that. Can you anyhow give us the ability to control the flow may be by joining two different graph.

Is there anything you can do please.

@vikram-rawat
Copy link
Author

Can we anyhow build two different mermaid plots and merge them as one.

Like one mermaid diagram connecting to another and so on... That could solve the problem temporarily. And also it will open up a new dimension entirely.

This will solve the problem of subgraphs temporarily. But this is a must have feature because without it Big and complex graphs can not be explained.

@tylerlong
Copy link
Collaborator

I am reviewing all the issues for mermaid and several people have the same requirements.

Layout is powered by https://github.com/dagrejs/dagre-d3. mermaid could support it as long as upstream project supports it.

@vikram-rawat
Copy link
Author

Is it implemented now. Trust me it's basics and very crucial if you actually want to draw a flow chart

@feng-1985
Copy link

feng-1985 commented Feb 16, 2019

"Like if main is TB
Sub should be LR or RL

If main is LR
Sub should be TB of BT"

This kinds of subgraph seems not implemented, how to create it? Any tutorials?

@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
mgenereu pushed a commit to mgenereu/mermaid that referenced this issue Jun 25, 2022
…yarn/develop/cypress-9.2.0

chore(deps-dev): bump cypress from 9.1.1 to 9.2.0
@jpl-jengelke
Copy link

#815

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

4 participants