Skip to content

Commit

Permalink
Vertical summary.
Browse files Browse the repository at this point in the history
Add parents before spouse to reduce line crossings.

Fix vertical highlighting.

Also fix up/down buttons on summary.
  • Loading branch information
ranbo committed Sep 18, 2024
1 parent d2eacbd commit 84fb6a8
Show file tree
Hide file tree
Showing 2 changed files with 243 additions and 42 deletions.
2 changes: 1 addition & 1 deletion graph/view/RelChartBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,8 @@ RelChartBuilder.prototype.addRelatives = function(personBox, subtree) {
do {
personBox.subtree = subtree;

this.addSpouses(personBox, subtree, needsRelativesQueue);
this.addParents(personBox, subtree, needsRelativesQueue);
this.addSpouses(personBox, subtree, needsRelativesQueue);

personBox = needsRelativesQueue.length > 0 ? needsRelativesQueue.splice(0, 1)[0] : null;
} while (personBox);
Expand Down
Loading

0 comments on commit 84fb6a8

Please sign in to comment.