Nahid Hasan
Nahid Hasan

Reputation: 51

How to use graphviz into asp.net core mvc project?

I had searched over internet to find out the library which is support for graphviz in asp.net core. There is a library called Rubjerg/Graphviz.NetWrapper which is used GraphViz but not support asp.net core. Is there any way to use graphviz into asp.net core mvc?

Upvotes: 0

Views: 386

Answers (1)

Goodies
Goodies

Reputation: 2069

Normally, .NET graphics toolkits write their result to the local screen.

But it can be done.

Link the toolkit in a separate DLL, do your thing.. And instead of updating a screen, convert the result of your graphics to a server side image file. Then pass a link to the new image file to the caller via ASP.NET

You don't even need to create a file,

ASP.NET Return image from .aspx link

Upvotes: 1

Related Questions