Circular Graph
in
Programming Questions
•
11 months ago
Hi there,
I'm working on a graph visualization showing multiple connections between nodes.
I want to map them in the circle like
http://www.visualcomplexity.com/vc/project.cfm?id=717
My data (*.tsv) looks like:
1 <Name> 2 4 5
2 <Name> 1 3
3 <Name> 1
4 <Name> 5 1
5 <Name> 1 2 3
n ...
I read that file out with the TABLE class by Ben Fry.
My status is that I read the rowCount and draw a point for each row in a circle.
Fine. But how to draw the connections between the rows?
I smell that I have to create an array per row. This I get possibly done.
But then compare the arrays with each other and draw the bezier if there's a match?
I can't imagine that in code.
If somebody can push me I'd be super happy.
Also if somebody knows a tutorial about circular graphs would be great.
thanks,
n
1