d0a175a90a
badu-core: modelo Note + NoteStore (etiquetas, búsqueda) + grafo de wiki-links [[...]] derivado del cuerpo (forward/backlinks, huérfanas, enlaces colgantes; resolución case-insensitive). badu-gravity: SemanticField sobre vectores semánticos — afinidad coseno, vecinos más cercanos, clústeres por umbral (union-find) y layout 2D dirigido por fuerzas (notas afines se atraen, todas se repelen; determinista, sin RNG). 29 tests. Cero red, #![forbid(unsafe_code)]. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
24 lines
781 B
Rust
24 lines
781 B
Rust
//! `badu-core` — el núcleo agnóstico de la toma de notas.
|
|
//!
|
|
//! Una nota es texto con título, etiquetas y enlaces `[[...]]`. El
|
|
//! [`NoteStore`] las guarda y deriva el grafo: forward-links, backlinks,
|
|
//! huérfanas y enlaces colgantes. Sin UI, sin storage en disco, sin red
|
|
//! — tipos puros y deterministas.
|
|
//!
|
|
//! - [`note`] — el modelo [`Note`].
|
|
//! - [`links`] — el parser de wiki-links `[[...]]`.
|
|
//! - [`store`] — el [`NoteStore`] y el grafo de enlaces.
|
|
//!
|
|
//! La gravedad semántica (clustering por afinidad de embeddings) vive en
|
|
//! `badu-gravity`; las lentes visuales, en los crates de frontend.
|
|
|
|
#![forbid(unsafe_code)]
|
|
|
|
pub mod links;
|
|
pub mod note;
|
|
pub mod store;
|
|
|
|
pub use links::parse_links;
|
|
pub use note::{Note, NoteId};
|
|
pub use store::NoteStore;
|