Open runningrandall opened 10 years ago
Hi Michael,
Thanks for the quick response!
Not even multiple spouses...more like forcing each individual into their own box rather than a shared box between couples. Something similar to this:
Each ancestor is in its own div already, their spouse just looks like they're combined.
Are you wanting to not display the focus person spouse at all?
He wants to separate out the boxes to show a person, not a couple per node.
So the spouses are not shown at all then?
yea, he wants a more granular view. Each person is it's down box and you're only showing the direct ancestors of each person.
I don't really see the point of the view, but that's what he's asking for.
@runningrandall
In the input JSON doesn't list a spouse I think it should make boxes as you're requesting:
Eg. if this file had
"husb": [], "wife":[]
for each ancestor, then I think it should show the tree you're describing.
I was able to just use CSS to style it that way. How can I create the lines to connect the boxes? Here's what I've got:
I'm afraid you're going to need to dig into the source code for that one. I don't recall of the top of my head and I won't have time to dig back into the code until at least January.
Hi runningrandall,
It's not possible yet. We haven't yet figured out how we want to deal with multiple spouses -- is that what you mean?
You can see a demo here where a list of names lets you access all the spouses, but there's no good way to see a list of someone's spouses yet or to cleanly switch between them.
It's on my eventual todo list, but in the mean time pull requests are welcome!
Michael Moore