This requires some work, but it seems that the idea I am proposing is a power layout with a special kind of node called a relation that does not draw a circle. It is a binding between two entities and can be the parent of a larger number of nodes.
In d3, you can expand all data structures according to what you want, then there is more data binding work, but it is all customizable. Here is an example of data structures that I would use in a force layout.
{ "nodes": [ { "type": "root", "x": 300, "y": 300, "fixed": true }, { "type": "male", "name": "grandpa" }, { "type": "female", "name": "grandma" }, { "type": "relationship" }, { "type": "male", "name": "dad" }, { "type": "female", "name": "mum" }, { "type": "relationship" }, { "type": "male", "name": "I" } ], "links": [ { "source": 0, "target": 2 }, { "source": 1, "target": 2 }, { "source": 0, "target": 3 }, { "source": 3, "target": 4 }, { "source": 4, "target": 6 }, { "source": 5, "target": 6 }, { "source": 6, "target": 7 } ] }
I hope I clarified something about the possibilities of d3.
David Lemon Jun 19 '15 at 10:16 2015-06-19 10:16
source share