1
Vote

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

description

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.

comments

tcap479 wrote May 11, 2013 at 2: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 11: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 1: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:

http://www.w3schools.com/sql/sql_intro.asp

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

http://www.microsoft.com/en-us/sqlserver/editions/2012-editions/express.aspx

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

http://msdn.microsoft.com/en-us/library/h43ks021%28v=vs.110%29.aspx

-- Tony