Pedigree-Viewer icon indicating copy to clipboard operation
Pedigree-Viewer copied to clipboard

Is it possible to split the marriages up into two different boxes?

Open runningrandall opened this issue 11 years ago • 9 comments

runningrandall avatar Nov 04 '13 22:11 runningrandall

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

stuporglue avatar Nov 04 '13 22:11 stuporglue

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:

showreportimage

runningrandall avatar Nov 04 '13 22:11 runningrandall

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?

stuporglue avatar Nov 07 '13 16:11 stuporglue

He wants to separate out the boxes to show a person, not a couple per node.

dovy avatar Nov 07 '13 18:11 dovy

So the spouses are not shown at all then?

stuporglue avatar Nov 07 '13 18:11 stuporglue

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.

dovy avatar Nov 07 '13 18:11 dovy

@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.

stuporglue avatar Nov 07 '13 18:11 stuporglue

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:

capture

runningrandall avatar Nov 08 '13 00:11 runningrandall

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.

stuporglue avatar Nov 08 '13 06:11 stuporglue