Example of an app using yFiles(yWorks) for Java library to create dynamically a family tree graph.
It uses the FamilyTreeLayout algorithm which can only handle specific graph structures as described in section Concept http://docs.yworks.com/yfilesjava/doc/api/#/api/com.yworks.yfiles.layout.genealogy.FamilyTreeLayout. Each node has to be mapped to a type, i.e., family or individual (male/female) where family nodes can have at most two incoming edges from the parents and there are no edges between nodes of the same type.
In order to run the program you need to create an account and get the licence file on yWorks site https://www.yworks.com/products/yfiles-for-java-2.x/evaluate
Then put the license file inside the src/ folder
- Fork it ( https://github.com/r-deleon/familyTree )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
This project is licensed under the MIT License - see the LICENSE file for details