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

Can we support vertial timeline diagram #2268

Open
ForrestFeng opened this issue Aug 26, 2021 · 20 comments
Open

Can we support vertial timeline diagram #2268

ForrestFeng opened this issue Aug 26, 2021 · 20 comments

Comments

@ForrestFeng
Copy link

Can we support the verital timeline in mermaid.

I need to draw a timeline to show users how ting changed in a timely manner, some thing like below.

It does not have to do it exactly the same way.

About implementation, we may not need to recreate the wheels(syntax for the timeline). Mermaid already supports gantt diagram with different sections. Can we render it in the Top-Down or Bottom-Up layout just like what we have in the flow graph?

Gantt is good, but it would be a mess if we have put many information into a wide time range. A vertical timeline has no such issue. And it would be better if we can show two or more timelines for different objects.

Just a thought, it may help us turn the gantt diagrams into a timeline easily.

image

@ForrestFeng ForrestFeng added Status: Triage Needs to be verified, categorized, etc Type: Enhancement New feature or request labels Aug 26, 2021
@WTIGER001
Copy link

Yes Please!

@lschierer
Copy link

I would like to see this as well, ideally with support for multiple verticals, ie some events are one sequence and other events are a second sequence.

@aress31
Copy link

aress31 commented Aug 8, 2022

I would love to see this feature too!

@NKjoep
Copy link
Contributor

NKjoep commented Aug 25, 2022

it could be useful with different activities: from product release, to team retrospectives. I'd make great use of it, if available.

@johndzxu
Copy link

johndzxu commented Sep 6, 2022

Definitely! Upvote +1

@nirname
Copy link
Contributor

nirname commented Jul 14, 2023

To my mind, we need to implement YAML configuration first and then it could be very convenient to implement without intrusion in internals

@nirname nirname added Contributor needed Status: Approved Is ready to be worked on Area: Development Graph: Timeline Good first issue! and removed Status: Triage Needs to be verified, categorized, etc labels Jul 14, 2023
@YelvGH
Copy link

YelvGH commented Aug 13, 2023

Upvote +1

@nirname
Copy link
Contributor

nirname commented Aug 13, 2023

@mastersibin Hi! This is a similar feature to what you have already implemented in git graph. I thought you might be interested in contributing to it

@mastersibin
Copy link
Contributor

Yes, I'll look at the code.

@mastersibin
Copy link
Contributor

mastersibin commented Aug 14, 2023

@nirname these are mocks for timeline vertical.
Mock 1
timeline drawio
Mock2
timeline drawio (1)

Are we planning something like this?

@rui-nar
Copy link

rui-nar commented Aug 14, 2023 via email

@nirname
Copy link
Contributor

nirname commented Aug 14, 2023

@mastersibin Looks great! I think the main request is to turn the whole diagram 90 degrees but keep labels as they are. Feel free to open PR when you are ready, write resolve #issue-number in its comment, and it will be attached here. We can discuss all edge-cases inside.

@mastersibin
Copy link
Contributor

mastersibin commented Aug 14, 2023

@nirname I just want to understand the orientation when the diagram is 90 degrees.

Original Timeline Diagram
image

Rotated
Timeline

I just want to know, in the rotated png, do I have to just tilt the text and thats it?

@nirname
Copy link
Contributor

nirname commented Aug 15, 2023

@mastersibin Graph should go from top to bottom, generally. But we need to elaborate on how those groups like "go to work" should look like

@mastersibin
Copy link
Contributor

@nirname I guess we should just rotate all the boxes by 90 degrees. Right now we should work on that. On the way we can fix problems.

@sdmcclain
Copy link

I don't mean to distract from the core of this issue, but I wonder whether supporting a vertical layout for Gantt charts would be considered part of this effort? Or perhaps there is a separate issue somewhere for this request?

@nirname
Copy link
Contributor

nirname commented Aug 16, 2023

@sdmcclain Please, check opened Gantt issues or trying to search untagged, and if there is no issue feel free to open a new one

@HananoshikaYomaru
Copy link

I think this will be so much useful

@efsalvarenga
Copy link

Strongly support it as well.

@neil3d
Copy link

neil3d commented Oct 12, 2023

Rreally need this feature. Upvote +1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests