I use yFiles for Java v3.
I define few edges for given pair of nodes. The issue is that I can't define custom location for each of those (to be precised, for their source and target ports).
I tried to use setPortLocation and setRelativePortLocation IGraph functions but I can't force edge ports to move from their default positions set by layout alghoritms.
Note: I use HierarchicLayout