java - Looking for the right algorithm -
if have set of nodes ids , pointers other nodes this:
1 -> 2 2 -> 4 2 -> 3 3 -> 4 5 -> 1 ... how can display graph in 2 dimensions (on x-y plane)? there way project these 1d points 2d? i'm looking looking point me algorithm can use.
thanks in advance.
see polygonfactory.createpolygon
you can utilize points in polygon homecoming value , draw connections want.
java algorithm graph
No comments:
Post a Comment