Finding a nice way of drawing a graph
Vertices move towards other vertices they're connected to unless they are less than 100 pixels in distance from them, then they move away. And they move away from vertices they're not connected to unless they are more than 100 pixels away in which case it doesn't matter. All movements are normalized to 1 pixel left and right and up and down.
No comments:
Post a Comment