drewnoakes / dependency-analyser

Shows the dependencies between .NET projects and assemblies as a graph.
https://drewnoakes.com/code/dependency-analyser/
GNU Lesser General Public License v3.0
43 stars 5 forks source link

Break dependency upon WinGraphviz #2

Closed GoogleCodeExporter closed 1 year ago

GoogleCodeExporter commented 8 years ago

WinGraphviz is great, but it increases the barrier to entry for this tool.

See this question on StackOverflow that details various options.

Original issue reported on code.google.com by drewnoakes on 22 Apr 2011 at 8:55

jeremysimmons commented 8 years ago

Maybe the barrier for entry is the lack of an installer? If the GraphViz COM DLL could be embedded and automatically unpacked/used, that could solve the issue... Registration-Free COM Interop - https://msdn.microsoft.com/en-us/library/fh1h056h(v=vs.110).aspx

jeremysimmons commented 8 years ago

Another possibility would be bootstrapping the GraphVIZ DLL.

  1. upload the DLL to the git repository
  2. add code to download the DLL via cdn.rawgit.com to the machine if it's missing

On second though. This is a bad idea. The DLL is 340 zipped. Adding as an assembly resource and uncompressing/loading should be more than sufficient.

drewnoakes commented 8 years ago

Avoiding separate installation of GraphViz would be great. Can it just be included in the release zip, and picked up from the local directory somehow at runtime, without needing any registry tweaks or other admin-rights-requiring activities.

On 15 October 2015 at 20:28, Jeremy Simmons notifications@github.com wrote:

Another possibility would be bootstrapping the GraphVIZ DLL.

  1. upload the DLL to the git repository
  2. add code to download the DLL via cdn.rawgit.com to the machine if it's missing

On second though. This is a bad idea. The DLL is 340 zipped. Adding as an assembly resource and uncompressing/loading should be more than sufficient.

— Reply to this email directly or view it on GitHub https://github.com/drewnoakes/dependency-analyser/issues/2#issuecomment-148497370 .

jeremysimmons commented 8 years ago

Picking up the com registrations is what registry free com is all about. Good set of resources on building the manifest definitions http://stackoverflow.com/questions/465882/generate-manifest-files-for-registration-free-com

drewnoakes commented 8 years ago

Another option is to migrate to WPF and use Graph#.

Graph# looks pretty dead though. There's a port here with one author's modifications:

https://github.com/andypelzer/GraphSharp

jeremysimmons commented 8 years ago

an option worth considering for sure!

any downsides?

Sent from my iPhone

On Oct 17, 2015, at 2:44 PM, Drew Noakes notifications@github.com wrote:

Another option is to migrate to WPF and use Graph#.

— Reply to this email directly or view it on GitHub.

drewnoakes commented 3 years ago

Another option: https://github.com/microsoft/automatic-graph-layout

drewnoakes commented 1 year ago

This has been completed.