Skip to main content

Module verso_address

Module verso_address 

Source
Expand description

Verso URI scheme parsing — verso://, graphshell://, graph://, node://, notes://. Includes the address types that the rest of Graphshell uses to address durable subsystem surfaces (settings pages, frame-by-id, tile-group-by-id, view targets, tool panes, clip captures, plus generic graph/node/note addresses).

Promoted from graphshell::util per Slice 56 — these types were pure URI-string parsing (no egui, no euclid) but lived next to the CoordBridge egui-glue trait in util.rs, which forced every portable consumer (the viewer registry, several services, action routing, settings persistence) to reach into the binary root for a primitive. The egui-flavored CoordBridge trait stayed behind in util.rs.

Structs§

GraphAddress
NodeAddress
NoteAddress

Enums§

GraphshellSettingsPath
VersoAddress
VersoViewTarget

Constants§

GRAPHSHELL_SCHEME_PREFIX
GRAPH_SCHEME_PREFIX
NODE_SCHEME_PREFIX
NOTES_SCHEME_PREFIX
VERSO_SCHEME_PREFIX

Functions§

truncate_with_ellipsis
Truncate a string to max_chars characters, appending an ellipsis if truncated. Uses character counting (not byte length) so it’s safe for multi-byte UTF-8.