This is a version of https://github.com/olvb/nodesoup for dear imgui.
I have adapted nodesoup from Olivier Birot to dear imgui. I just made the changes to allow for an interactive frame rate. All credit goes to him.
Update: added option to move vertices.
If you want to use it just copy the files to a dear imgui project and adjust the include path.
Add the declaration extern void ShowNodeSoup();
and call it.
There are five example graphs that you can choose with a combo box and show them with the Fruchterman-Reingold or Kamada Kawai algorithms. You can use the mouse wheel for zoom in or zoom out and pan clickin left button.