Visualization of Rust data structures with graphs

Hello,

I'm trying to visualize Rust data structures with graphs, I have the following result:

However the tool is very limited. I would like to produce the graph a crate and more. I used syn to start but I'm wondering:

  1. Is anything like this already done?
  2. Which parts of rustc (and cargo) would I need?
1 Like