Using DOT classes (and some other properties) to apply styles to a DOT file was a good call.
```
head -> body [class="consequence"]
body -> head [dir=back]
head -> exit [class="alternative"]
```
Now back to writing that talk...
Using DOT classes (and some other properties) to apply styles to a DOT file was a good call.
```
head -> body [class="consequence"]
body -> head [dir=back]
head -> exit [class="alternative"]
```
Now back to writing that talk...
Writing proper docs for function-graph-overview requires some fake control-flow-graphs. So now I'm writing a tool that applies my styling to an existing DOT file based on simple attributes.
Once that's done, I'll be able to write those graphs by hand without (too much) pain.
Finally managed to push my Vite/Svelte frontend into a VSCode webview!
Still needs some cleanup before it gets into the plugin, but it should allow for much nicer UI soon!
CSP makes things tricky. And even more so when you're hosting a file locally and 'serve' it without modification...
I'm still not sure how to generate a nonce dynamically in VSCode.
Added the overlay-note-region-name-pending feature to the demo behind a feature-flag.
You can play with them at https://tmr232.github.io/function-graph-overview/?showRegions
Use `cfg-overlay-start: message` and `cfg-overlay-end` comments to denote the start and end of a region.
Took more work than I expected (SVG manipulation is tricky business), but I now have a working version of on-graph region comments!
Currently working on adding comment-overlays to Function-Graph-Overview.
The idea is to add special begin- and end- comments, and use those to draw overlays on the graph (think C#'s region thingy).
I hope this will make the CFG more viable as a code-understanding tool, as we'll be able to better document our findings.
Custom color schemes arrive in FunctionGraphOverview for JetBrains IDE's!
https://plugins.jetbrains.com/plugin/25676-function-graph-overview
https://github.com/tmr232/jb-function-graph-overview?tab=readme-ov-file#color-scheme
New version of Function-Graph-Overview is out!
This version adds TypeScript (& JavaScript) support!
And fixes some bugs with Go CFG generation.
Get it while it's hot!
https://tmr232.github.io/function-graph-overview/?language=4
New version of the Function-Graph-Overview plugin for JetBrains IDEs is out!
Now with click-to-navigate - click the nodes in the graph to jump to the relevant code!
https://plugins.jetbrains.com/plugin/25676-function-graph-overview
A new version of function-graph-overview is out, now with C++ support!
Online demo - https://tmr232.github.io/function-graph-overview/?language=3
VSCode - https://marketplace.visualstudio.com/items?itemName=tamir-bahar.function-graph-overview
JetBrains - https://plugins.jetbrains.com/plugin/25676-function-graph-overview