datasynth_graph/lib.rs
1//! # synth-graph
2//!
3//! Graph/network export library for synthetic accounting data.
4//!
5//! This crate provides:
6//! - Graph models for representing accounting data as networks
7//! - Builders for creating transaction, approval, and entity graphs
8//! - Exporters for PyTorch Geometric, Neo4j, and DGL formats
9//! - ML utilities for feature extraction and dataset splitting
10//!
11//! ## Graph Types
12//!
13//! - **Transaction Network**: Accounts/entities as nodes, transactions as edges
14//! - **Approval Network**: Users as nodes, approvals as edges (for SoD detection)
15//! - **Entity Relationship**: Legal entities with ownership edges
16//!
17//! ## Export Formats
18//!
19//! - **PyTorch Geometric**: node_features.pt, edge_index.pt, edge_attr.pt
20//! - **Neo4j**: CSV files with Cypher import scripts
21//! - **DGL**: Compatible format for Deep Graph Library
22
23pub mod builders;
24pub mod exporters;
25pub mod ml;
26pub mod models;
27
28pub use builders::*;
29pub use exporters::*;
30pub use ml::*;
31pub use models::*;