Expand description
A 3D map of a folder: its folders and files as nested boxes, and inside any Rust file its symbols, with crates and their dependencies picked out when the folder is a Cargo workspace.
Re-exports§
pub use forces::Forces;pub use graph::Graph;pub use graph::Kind;pub use graph::Node;pub use graph::Relation;pub use layout::Layout;pub use scene::CodeScene;
Modules§
- forces
- Forces that pull heavily linked containers together, laid over the tree layout.
- graph
- The code graph: a tree of workspace, crates, modules and symbols, with the relations between them.
- layout
- Positions for the graph: a wall of nested boxes on a unit grid, read like a file explorer. A container lays its children out on its front face — folders first, then files, in rows — and every level sits one unit deeper than the one around it.
- scene
- The scene that draws a code graph as wires and labels, and lets you walk it.
- symbols
- The symbols in a Rust file, read with
synwithout compiling anything, and how they tie together. - thumbs
- Thumbnails for the files on the wall: made off the main thread, cached on disk, packed into one atlas texture the gizmo pass draws from, in sizes to suit how big a tile is on screen.
- workspace
- The crates of a Cargo workspace, read with
cargo metadata.
Structs§
- Id
- Node identifier.
Functions§
- index
- Reads the folder at
rootinto a graph, honouring.gitignoreand skipping build output.