我会尽力描述我所面临的挑战。我想用 D3 做两件事:
1. A List that contain Node name
2. A Forcelayout graph with Node and Link
他们在不同的div上。可以在 1 个 .js 中制作,但最好是 2 个单独的。
期望的交互:
When I click on a Node in the graph, the corresponding one in the
list would be highlight
怎样才能实现这样的目标?