Question

Is it possible to lay out edges in OGDF? Does OGDF even include routing edges? Because I've been wading through the docs for days and still havent found out how to do so. Whats particularly interesting is the joining point between an edge and a node. Do I have to determine that point myself?

Was it helpful?

Solution

Well, Ive found a way, and am writing this only in case someone, sometime might ask himself the same question.

You basically begin drawing an edge from the center of the node (i.e. GA.x(e) + nodewidth/2) and then iterarate over the list of bend points (if the edge e has any). Get the list of bend points with GA.bends(e)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top