Tree Diagram Generated as SVG Using d3.js 3.x

Add-ons
2026-07-26 04:21 4 views • 0 downloads 3.8KB
Tree Diagram Generated as SVG Using d3.js 3.x

Last Updated: 2019/6/28 5:45:42 PM

Changelog:Click a Node to Center It


Last Updated: 2019/4/30 6:19:17 PM

Changelog:Supports Reverse Direction (Four Areas: nodeEnter, nodeUpdate, nodeExit, diagonal)

Popup window: Compatible with IE10, but apparently not compatible with Edge. I haven't tested it thoroughly, and my computer does not have IE. (Replace offsetX/offsetY with layerX/layerY.)

Clicking a node displays the popup at the node's position without losing focus. (The last two lines in the click event are commented out.)


You can contact me via QQ: 279470138. I have only worked with this d3.js tree chart, which uses v3. Regarding compatibility issues, I haven't looked into them.

The local JSON file is used. The API integration code was not organized, so it was not uploaded.

StarCode

Discover and share great open-source projects. We serve developers and carry the spirit of the internet forward.

Contact

WeChat / advertising: ITcloub (please mention StarCode)

Disclaimer: Resources on this site remain the property of their original authors and are for learning and exchange only. For copyright concerns, contact us via About us → Copyright complaints.

Powered by Nuxt · Deployed on Cloudflare