<p>I'm trying to draw a graph on an ASP webpage. I'm hoping an API can be helpful, but so far I have not been able to find one. </p>

<p>The graph contains labeled nodes and unlabeled directional edges.
The ideal output would be something like <a href="http://en.wikipedia.org/wiki/Image:6n-graf.svg" rel="noreferrer">this</a>. </p>

<p>Anybody know of anything pre-built than can help?</p>

[{'answer_id': 69285, 'author': 'Allan Wind', 'author_id': 9706, 'author_profile': 'https://Stackoverflow.com/users/9706', 'pm_score': 2, 'selected': False, 'text': '<p>I am not sure about ASP interface, but you may want to check out <a href="http://www.graphviz.org/" rel="nofollow noreferrer">graphviz</a>.</p>\n\n<p>/Allan</p>\n'}, {'answer_id': 69301, 'author': 'Brian', 'author_id': 700, 'author_profile': 'https://Stackoverflow.com/users/700', 'pm_score': 0, 'selected': False, 'text': '<p>You might be able to pull this off with <a href="http://code.google.com/apis/chart/" rel="nofollow noreferrer">Google\'s Chart API</a>.  It is very easy to get started with.</p>\n'}, {'answer_id': 70585, 'author': 'Paul Dolphin', 'author_id': 10186, 'author_profile': 'https://Stackoverflow.com/users/10186', 'pm_score': 1, 'selected': False, 'text': '<p>I would recommend <a href="http://zedgraph.org/wiki/index.php?title=Main_Page" rel="nofollow noreferrer">zedgraph</a></p>\n'}, {'answer_id': 74815, 'author': 'wxs', 'author_id': 12981, 'author_profile': 'https://Stackoverflow.com/users/12981', 'pm_score': 4, 'selected': True, 'text': '<p>Definitely <a href="http://graphviz.org" rel="nofollow noreferrer">graphviz</a>. The image on the wikipedia link you are pointing at was made in graphviz. From its description page the graph description file looked like this:</p>\n\n<pre><code>graph untitled {\n    graph[bgcolor="transparent"];\n    node [fontname="Bitstream Vera Sans", fontsize="22.00", shape=circle, style="bold,filled" fillcolor=white];\n    edge [style=bold];\n    1;2;3;4;5;6;\n    6 -- 4 -- 5 -- 1 -- 2 -- 3 -- 4;\n    2 -- 5;\n}\n</code></pre>\n\n<p>If that code were saved into a file input.dot, the command they would have used to actually generate the graph would probably have been:</p>\n\n<pre><code>neato -Tsvg input.dot &gt; graph.svg\n</code></pre>\n'}, {'answer_id': 556780, 'author': 'ЯegDwight', 'author_id': 58792, 'author_profile': 'https://Stackoverflow.com/users/58792', 'pm_score': 1, 'selected': False, 'text': '<p>GraphViz does a nice job for tiny graphs, but not for huge ones. If your graph is reasonlably large, try <a href="http://www.aisee.com/" rel="nofollow noreferrer" title="aiSee">aiSee</a> or have a look at the alternatives on <a href="http://www.dmoz.org/Science/Math/Combinatorics/Software/Graph_Drawing/" rel="nofollow noreferrer" title="this list">this list</a>.</p>\n'}, {'answer_id': 1781064, 'author': 'Mauricio Scheffer', 'author_id': 21239, 'author_profile': 'https://Stackoverflow.com/users/21239', 'pm_score': 1, 'selected': False, 'text': '<p>You could use <a href="http://quickgraph.codeplex.com/" rel="nofollow noreferrer">QuickGraph</a> to easily model the graph programatically, then export it to <a href="http://quickgraph.codeplex.com/wikipage?title=Visualization%20Using%20Graphviz&amp;referringTitle=Documentation" rel="nofollow noreferrer">GraphViz</a> or <a href="http://quickgraph.codeplex.com/wikipage?title=Visualization%20Using%20Glee&amp;referringTitle=Documentation" rel="nofollow noreferrer">GLEE</a>, then render it to PNG.</p>\n'}, {'answer_id': 3051234, 'author': 'wxs', 'author_id': 12981, 'author_profile': 'https://Stackoverflow.com/users/12981', 'pm_score': 1, 'selected': False, 'text': '<p>Well, here\'s another answer 2 years later. Protovis now does force-directed graph layouts rendered in browser:\n<a href="http://vis.stanford.edu/protovis/ex/force.html" rel="nofollow noreferrer">http://vis.stanford.edu/protovis/ex/force.html</a>\nMight be easier if you can\'t install client-side software. Also it\'s fun and interactive!</p>\n'}, {'answer_id': 5028691, 'author': 'Frodo Baggins', 'author_id': 226469, 'author_profile': 'https://Stackoverflow.com/users/226469', 'pm_score': 2, 'selected': False, 'text': '<p>We produce <a href="http://www.jgraph.com/mxgraph.html" rel="nofollow">mxGraph</a>, which supports ASP.NET, and most other mainstream server-side technologies. It\'s entirely JavaScript client-side, with just a thin layer to communicate written in .NET, so there isn\'t much ASP.NET required. But we do supply a ASP project for visual studio as one of the examples.</p>\n'}, {'answer_id': 52329563, 'author': 'FGRibreau', 'author_id': 745121, 'author_profile': 'https://Stackoverflow.com/users/745121', 'pm_score': 0, 'selected': False, 'text': '<p><em>Disclaimer: I\'m Image-Charts founder.</em></p>\n\n<p>If you are looking for an <a href="https://documentation.image-charts.com/graph-viz-charts/" rel="nofollow noreferrer">web API</a>:</p>\n\n<pre><code>https://image-charts.com/chart\n?cht=gv\n&amp;chl=graph g{1;2;3;4;5;6; 6 -- 4 -- 5 -- 1 -- 2 -- 3 -- 4; 2 -- 5;)\n</code></pre>\n\n<p><img src="https://image-charts.com/chart?cht=gv&amp;chl=graph%20g%20%7B1;2;3;4;5;6;%206%20--%204%20--%205%20--%201%20--%202%20--%203%20--%204;%202%20--%205;%20%7D" alt=""></p>\n'}]
['https://Stackoverflow.com/questions/69275', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/165305/']