I'm currently working on a GUI that allows you to design processes, with boxes and links. I'm searching for some guidelines/algorithms to create an auto-arrange button that will put the schema in the most readable way...

If you have heard about any algorithm or have any ideas, feel free to advice me =)

Thanks =)