Closed jklocker closed 2 years ago
i suggest there is a bug in simple-renderer.ts regarding the positioning of rectangles of the spouses in vertical layout.
The current line is .attr('transform', (node) => translate(0, ${node.data.indi!.height}));
translate(0, ${node.data.indi!.height})
I suggest, it should be .attr('transform', (node) => translate(${node.data.indi!.width},0));
translate(${node.data.indi!.width},0)
Thanks for finding this issue and providing a solution.
The code should be fixed now and it is published as topola@3.5.1.
i suggest there is a bug in simple-renderer.ts regarding the positioning of rectangles of the spouses in vertical layout.
The current line is .attr('transform', (node) =>
translate(0, ${node.data.indi!.height})
);I suggest, it should be .attr('transform', (node) =>
translate(${node.data.indi!.width},0)
);