.
This commit is contained in:
parent
8d9ffee55a
commit
efd0e1643c
@ -7,16 +7,26 @@
|
||||
| ''' |
|
||||
+-------+
|
||||
|
||||
+--------------------+ +------------------------+
|
||||
| main.c | | i.c |
|
||||
| ________________ | | ____________________ |
|
||||
| | used by main.h | | | | declared by main.h | |
|
||||
| '''''''''''''''' | | '''''''''''''''''''' |
|
||||
+--------------------+ +------------------------+
|
||||
+--------------------+ +---------------------+
|
||||
| main.c | | i.c |
|
||||
| ________________ | | _________________ |
|
||||
| | used by main.c | | | | declared by i.c | |
|
||||
| '''''''''''''''' | | '''''''''''''''''' |
|
||||
+--------------------+ +---------------------+
|
||||
|
||||
```
|
||||
|
||||
(arrows omited for simplicity)
|
||||
(arrows omitted for simplicity)
|
||||
|
||||
these rectangles can be achieved with cluster subgraphs,
|
||||
however you cant have edges between subgraphs and nodes
|
||||
so for better or worse `* by $@` will have to be used
|
||||
|
||||
the same logic is achievable inside files for static globals.
|
||||
not sure how combining them to one graph would work
|
||||
|
||||
this really only works well with header files,
|
||||
but i dont mind being less generic if the visualization is better
|
||||
|
||||
ctags cant do this (--extras=+referece only indexes the preprocessor),
|
||||
i will have to use treesitter
|
||||
i will have to use treesitter.
|
||||
|
Loading…
x
Reference in New Issue
Block a user