imnodes
imnodes copied to clipboard
Link curves need to be adjusted
In some cases curves in links start intersecting with each other creating a confusing mess. It needs a better way of calculating control points.
![Screenshot 2021-09-02 at 19 09 46](https://user-images.githubusercontent.com/1411067/141505761-ea45e0a3-251d-4a0d-b257-e8573b78760e.png)
Maybe there could also be a choice to use straight links, something like this:
![](https://user-images.githubusercontent.com/6877923/83576832-f2486500-a532-11ea-9d2a-a6b75b980813.png)
Accidentally found this interesting example of disproportionate in/out control points:
![](https://aws1.discourse-cdn.com/business5/uploads/julialang/original/3X/9/9/99d2c10d7e89afc062062df082cfc0c13e74b475.png)
The first screenshot is definitely a bit of a mess. Link control points are currently scaled based on the link's length. Changing control points to something constant looks like this:
Better, but it looks a bit funny for longer links.
ImNodes could use some work on link shapes.
- Better control point placement. Do you have any further information from the disproportionate in/out control point example?
- Different link shapes. I think straight lines could be implemented fairly easily.