Orientation.VerticalReverse renders incorrectly
See original GitHub issueIn the reverse vertical orientation, the dark blue release branch lies over the develop branch in the following screenshot:

However, in the standard orientation, the dark blue release branch is correctly routed so that it doesn’t overlap the develop branch:

This is the code I’m using:
{(gitgraph) => {
const develop = gitgraph.branch("develop").commit();
const feature1 = gitgraph.branch("feature1").commit();
develop.merge(feature1);
const fix = gitgraph.branch("feature3");
const release = gitgraph.branch("release1");
const feature2 = gitgraph.branch("feature2");
feature2.commit();
develop.merge(feature2);
fix.commit();
release.merge(fix);
develop.merge(fix);
}}
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:6 (2 by maintainers)
Top Results From Across the Web
What is the best method of re-rendering a web page on ...
I have a which is 100% width, with a right aligned background image. When I change the orientation from portrait to landscape the...
Read more >Orbit tool is inverse, just vertical. : r/Cinema4D - Reddit
I will be using C4D like normal and just my orbit tool will inverse, but just the vertical direction. Not the horizontal.
Read more >How to Fix a Rotated Screen: 9 Steps (with Pictures) - wikiHow
1. Rotate your device or monitor if it is equipped with a rotation sensor. If your device is a tablet, 2-in-1 PC, or...
Read more >flex-direction - CSS: Cascading Style Sheets - MDN Web Docs
row-reverse. Behaves the same as row but the main-start and main-end points are opposite to the content direction.
Read more >The direction is wrong when drawing the line, how to solve the ...
If you encounter the situation of "drawing a vertical line horizontally" or "drawing a circle to become an ellipse" during use, it means...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi everyone! I managed to solve the problem on my example by changing the first
if
on thesmoothBranchesPaths
function to check iflength
is less or equal than 2. The result is show in the image belowSo far, it was enough to my application but I’m not sure if this is the deffinitive solution, since I don’t know the component code details well enough.
Not that I’m aware of 🙂
To be clear: I’m not working/maintaining this lib anymore. The issue is still open to be solved with the provided details.