home.social

#functiongraphoverview — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #functiongraphoverview, aggregated by home.social.

fetched live
  1. 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"]
    ```

    Becomes dreampuf.github.io/GraphvizOnl

    Now back to writing that talk...

    #graphviz #FunctionGraphOverview

  2. 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.

    #FunctionGraphOverview #graphviz

  3. 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.

    #vscode #vite #vscodeextension #FunctionGraphOverview

  4. Added the overlay-note-region-name-pending feature to the demo behind a feature-flag.

    You can play with them at tmr232.github.io/function-grap

    Use `cfg-overlay-start: message` and `cfg-overlay-end` comments to denote the start and end of a region.

    #FunctionGraphOverview

  5. Took more work than I expected (SVG manipulation is tricky business), but I now have a working version of on-graph region comments!

    #FunctionGraphOverview

  6. 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.

    #FunctionGraphOverview

  7. 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!

    tmr232.github.io/function-grap

    #golang #typescript #javascript #FunctionGraphOverview

  8. 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!

    plugins.jetbrains.com/plugin/2

    #FunctionGraphOverview #JetBrains #PyCharm #GoLang #CLion

  9. Initial version of Function-Graph-Overview for JetBrains IDEs is out
    plugins.jetbrains.com/plugin/2

    Initial meaning a fixed color scheme, and no jump-to-code when clicking nodes.
    But C, Python, and Go are supported.

    #jetbrains #FunctionGraphOverview

  10. Ok, good news.
    The JetBrains IDE WebViewer fully supports the function-graph-overview interactive demo, so I don't need to rewrite anything.

    This means that I need to wire everything in, and it should "just work".

    This is a huge benefit of having a publicly available demo, as I can just browse to it instead of dealing with loading it locally...

    #FunctionGraphOverview #jetbrains

  11. Dark-mode has arrived to Function-Graph-Overview!

    Version 0.0.9 now supports dark-mode and custom color schemes.

    marketplace.visualstudio.com/i

    And the demo now includes a scheme-making tool.

    tmr232.github.io/function-grap

    #FunctionGraphOverview