D3 - make links flow along with nodes when tree loads
问题 Below code represents a flow chart with connecting links that was built using D3.js Things work fine, but one issue I am seeing is with the links , right now the links are drawn first and then the nodes are transitioned/animated to their respective positions. How can I have both links and nodes transition to their positions simultaneously ( smoothly ) ? var margin = { top: 20, right: 120, bottom: 20, left: 120, }, width = 960 - margin.right - margin.left, height = 800 - margin.top - margin