I would like to create a skill tree for my own and community use. I have data in the format as shown below:
skill_1 [description etc.] requires: none
skill_2 [...] requires: skill_1
skill_3 [...] requires: skill_1, skill_2
skill_4 [...] requires: skill_1 OR skill_2
(data format from the promotion of 5 units of Civilization)
Now I want to change this data into a graphical, tree structure. Something like: skill tree image
The main problem that I am facing is that the connections between the skills get messy and I get a mess instead of a clear, useful picture when I add these skills only one by one. Is there any algorithm (sorting?) To prevent (or minimize) the intersection of compounds? Or should I have them in human terms in a graphics program?
source
share