How to use the CMakeGraphVizOptions support

Hey guys,
I noticed that CMake has a nice build in graphviz support.
Now I now how that you can generate is graphwiz file using the command line

cmake --preset foo
dot -Tsvg -o

Now is it possible to call these commands from the Presets itself or a CMakeLists.txt?

I suspect this would be a new feature request.

Cc: @kyle.edwards

this would be nice :slight_smile: