JamieDixon / GraphViz-C-Sharp-Wrapper

GraphViz C# Wrapper
93 stars 55 forks source link

Enhancement request: allow programmatic setting for graphviz binary location #24

Open msawczyn opened 4 years ago

msawczyn commented 4 years ago

Would like to have a way to set, in code, the location of the graphviz binaries.

The use case is a Visual Studio extension, where I can try to find the graphviz installation at runtime and enable certain features if it's found. I'm envisioning a static property that, if null, would then go through the current mechanism of finding either the appSettings or convention-based directory but, if not null, would use that value as the location path.

Thanks.