# 16.5 Graphing code

radare offers a graphical interface for browsing the code graphs. It uses an own-made Vala library called 'grava' that permits the creation of graphs using Gtk+Cairo easily. To open a new window displaying the code analysis graph type: 'ag'.

    [0x08048923]> ag
    ... gui ...

The grava window permits opening new nodes with the content executing a certain command (!regs, x@esp, ..), and offers a simple interface for debugging allowing to browse the code with the mouse and set breakpoints with the contextual menu over the nodes.

TODO: screenshots

- 16.5.1 Graphing code with graphviz
- 16.5.2 User-defined graphs
- 16.5.3 Graphing code with rsc