# Use as Windows control

**URL:** <https://forum.graphviz.org/t/use-as-windows-control/296>\
**Category:** Help\
**Created:** [August 8, 2020, 8:37pm UTC](https://forum.graphviz.org/t/use-as-windows-control/296 "2020-08-08T20:37:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaltryProgrammer](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@PaltryProgrammer](https://forum.graphviz.org/u/PaltryProgrammer)\
**Post date:** [August 8, 2020, 8:37pm UTC](https://forum.graphviz.org/t/use-as-windows-control/296/1 "2020-08-08T20:37:11Z")

</div>

May I please inquire if it is possible to integrate Graphviz into a Windows C++ program and to utilize it as a Windows control so that the code is notified of user interactions with it e.g. when the user clicks on any particular node. Thank you kindly Cheerios

---

<div class="post-metadata">

**Author:** ![steveroush](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@steveroush](https://forum.graphviz.org/u/steveroush)\
**Post date:** [August 10, 2020, 7:01pm UTC](https://forum.graphviz.org/t/use-as-windows-control/296/2 "2020-08-10T19:01:47Z")

</div>

- I guess the short answer is _no_.
- But the medium answer is (only) _probably not_.
  - Generally, think of Graphviz as a compiler system - program text (or api) is input and output is in one of 50+ output formats [https://graphviz.org/docs/outputs/](https://www.graphviz.org/doc/info/output.html). Once the “compile” step is done, so is Graphviz.
  - Most of the output formats are dumb (interactivity would be hard or ridiculous)
  - But a few, SVG, json(?), xdot(?), gtk(?) might work for you.

- I think most interactive programs that use Graphviz output are (minor) tweaks using the SVG format, adding javascript in a post-processing step.
- Check out the Documentation pages (including **Resources** ) - lots of good info.
