Click here to Skip to main content
15,891,513 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi everyone here!

I want to make a control which can automatic layout elements in a canvas.After searching from google I found that force-directed algorithm can implement automatic layout.I have looked at http://en.wikipedia.org/wiki/Force-based_algorithms[^] , but i don't really understand how this algorithm is realized. Could someone explain how this algorithm works? Or maybe some source code demo?

Thanks in advance!
Posted
Updated 22-Dec-11 20:57pm
v2
Comments
dreamofcode 25-Dec-11 8:42am    
No one study the same?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900