Add simple tree graph mode #4
@ -113,11 +113,8 @@ function buildSimpleDownTreeNode(
|
||||
if (node.spouse) {
|
||||
levelWidth =
|
||||
SPOUSE_SPACING +
|
||||
2 *
|
||||
Math.max(
|
||||
memberCardWidth(node.member),
|
||||
memberCardWidth(node.spouse.member)
|
||||
);
|
||||
memberCardWidth(node.member) +
|
||||
memberCardWidth(node.spouse.member);
|
||||
} else {
|
||||
levelWidth = memberCardWidth(node.member);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user