Closed
Description
Description
Consider following diagram:
gitGraph
commit
commit
branch develop
checkout develop
commit
commit
checkout main
commit
commit
gitGraph
commit
commit
branch develop
checkout develop
commit
commit
checkout main
commit
commit
The last two commits in the main branch are committed after the two in the develop branch.
Is there a way to show them as parallel commits?
Such as:
![Screenshot 2023-12-05 at 14 35 06](https://private-user-images.githubusercontent.com/2892417/287946759-02a2ef42-f33b-4a74-8b01-7d76af058538.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTU1MjMsIm5iZiI6MTczOTM1NTIyMywicGF0aCI6Ii8yODkyNDE3LzI4Nzk0Njc1OS0wMmEyZWY0Mi1mMzNiLTRhNzQtOGIwMS03ZDc2YWYwNTg1MzgucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTAxMzQzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9Mzg4NTM1MDQ1ZjRiNGMzZTFiYTJiNTVlZTQyMTQ1ZjFkZmRjNjU4ZTgxZGI4NjM0NDRmYjJiYTA0NDAwNjQ5ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.eViSipKIKfrJTOPZoCwrW4Z10ut47_nqXpxu-LvSPa8)
May be add a option to the checkout command?
Steps to reproduce
as above
Screenshots
No response
Code Sample
No response
Setup
- Mermaid version:
- Browser and Version: [Chrome, Edge, Firefox]
Suggested Solutions
No response
Additional Context
No response