Firstly, you could refer to the tutorial (example) or read
API documentation to know the basic usage of D3.js.
Secondly, this article explained with sample how to create a network diagram with nodes and directed links between them using D3.js, you could refer to it.
.NET forums are moving to a new home on Microsoft Q&A, we encourage you to go to Microsoft Q&A for .NET for posting new questions and get involved today.
Member
19 Points
174 Posts
Want to create network topology with d3.js
Aug 05, 2016 08:26 AM|Kothapally|LINK
Hi, I want to create network topology with d3.js
I want to take "gateway" as central node for any given network and then all machines are nodes off of that central node.
Can anyone give me sample codes i tried few things but i am unable to get images. I am using Json data, which will be coming from database.
Instead of manually assigning links, how can ii do that dynamically?
All-Star
40535 Points
6233 Posts
Microsoft
Re: Want to create network topology with d3.js
Aug 08, 2016 10:48 AM|Fei Han - MSFT|LINK
Hi Kothapally,
Firstly, you could refer to the tutorial (example) or read API documentation to know the basic usage of D3.js.
Secondly, this article explained with sample how to create a network diagram with nodes and directed links between them using D3.js, you could refer to it.
http://jansipke.nl/creating-network-diagrams-with-d3-js/
Besides, if you’d like to fetch data from database via client JavaScript, you could try to use jQuery AJAX.
http://www.aspsnippets.com/Articles/Calling-ASPNet-WebMethod-using-jQuery-AJAX.aspx
Best Regards,
Fei Han