Closed badrinarayan-R83 closed 2 months ago
Hi, any update ?
Hi @badrinarayan-R83, as far as I'm aware there is no way to do this directly in ELK using the layered algorithm as the algorithm was developed with clean and readable edge routing in mind. The easiest way to achieve your goal would probably to remove the bendpoints in a post-processing step if you are certain you don't need them.
I don't really know how glsp uses elk though. Ideally you should recreate your graph in elk-live so we can see what options you are using and what your graph looks like.
This is a duplicate of #1001
We are using elk layout for glsp based diagrams. We use ElkLayoutEngine.initialize(new LayeredMetaDataProvider()); to use layered algorithm The layout is fine for shapes and layered algorithm suits our requirement
But when we move the shape State2 down, an unnecessary bendpoint is created as highlighted in red. The bendpoint is created at the point where the shape existed before the movement.
We would have wanted a direct connection from circle to shape State2 without any bendpoint. Something like this
Do you know how we can fix this issue (like setting some elk property) ? Note: FixedLayout doesn't work fine for our requirement