GraphViz as library: How to query the installed layouts and renderers at run-time?
I'd like to present the user with lists of available layouts and renderers in a GUI desktop app before displaying a graph of the data at hand. Perhaps this is documented somewhere, but I couldn't find any way to do this except for parsing the config6 file (which may or may not be available), or just letting
gvRenderData() error out if the particular layout and/or renderer isn't available.
Is there a more elegant way of doing it? Please note that I am not using graphviz as a stand-alone command-line utility, nor am I calling
system() to invoke it; rather, it is built into the application which calls the C API functions in the shared libraries.