I want to display a directed graph dynamically on web page.


Here graph will generated dynamically on web page. Vertices will fetch from database and it will create edges between vertices according to relation between different vertices. Edges should be directed.


tcap479 wrote May 11, 2013 at 1:39 PM

You can do that today. In the NodeXLApi.chm help file that ships with the NodeXL Class Libraries, see the "NodeXLVisual Class" topic for sample code.

-- Tony

shachi wrote May 13, 2013 at 10:31 AM

Thank you sir...It is help full, I implemented graph with some static value of vertices and edges but I am not able to understand that how I can implement on my web page with database. Please Provide me any sample code if it is possible. It will be very help full for me.

tcap479 wrote May 14, 2013 at 12:02 AM

I don't have any sample code for that. It probably wouldn't be of much help to you anyway, because database code is highly application dependent, and I know nothing about your application other than the fact that it's a website. There are many databases you can use, many ways to access each database, and countless database schemas you might design.

If you are new to this stuff, here is a good introduction to SQL:


One database that's free and relatively easy to use is Microsoft SQL Server Express:


And here is an overview of ADO.NET, which is Microsoft's database-access layer for C# and other .NET languages:


-- Tony