Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
runningrandall opened this issue Nov 4, 2013 · 9 comments

Comments

@runningrandall
Copy link

No description provided.

@stuporglue
Copy link
Collaborator

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

@runningrandall
Copy link
Author

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

@stuporglue
Copy link
Collaborator

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?

@dovy
Copy link
Owner

dovy commented Nov 7, 2013

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

@stuporglue
Copy link
Collaborator

So the spouses are not shown at all then?

@dovy
Copy link
Owner

dovy commented Nov 7, 2013

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.

@stuporglue
Copy link
Collaborator

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

@runningrandall
Copy link
Author

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

@stuporglue
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants