Вопрос

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?

Это было полезно?

Решение

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)

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top