Add simple tree graph mode #4

Merged
pierre merged 16 commits from simple_tree into master 2023-08-26 14:00:00 +00:00
Showing only changes of commit 966bae979b - Show all commits

View File

@ -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);
}