Tree view: center a person between multiple spouses #37
Reference in New Issue
Block a user
Delete Branch "center-spouse-layout"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Patches family-chart 0.9.0 (via patch-package) so a person with two spouses renders centered between them (spouse 1 above, spouse 2 below) with each couple's children descending from the correct pair — instead of both spouses stacking on one side with ambiguous child lines.
setupSpouses: keep the person centered, split spouses to alternating sides, recenter the cluster.sortChildrenWithSpouses: order children by spouse order (gender-independent) to match.patch-package+ postinstall, andCOPY patchesin the Dockerfile deps stage so it applies in CI.Verified: patch re-applies on a clean install;
next buildpasses; positions confirmed via a headless render of a Beatrice-shaped case.🤖 Generated with Claude Code