Change d3 force layout link style to match d3-tree look
问题 I am undertaking yet another attempt to draw a family tree with d3. For this, I would like to use the usual node-link graph (like this one): But with a link style like that usually found in d3 trees, i.e. be the Bezier curves with horizontal (or vertical) ends: Is it possible to change the links accordingly, without diving into the d3-force code? 回答1: If you are just looking to match the style of the links, no need to dive into the d3-force code, it only calculates position, not anything