weave-graph
Graph conflict-of-interest pattern detection for OSINT knowledge graphs.
Part of the Weave workspace.
Patterns
Six built-in conflict-of-interest patterns (COI-001 through COI-006) using three algorithms:
- Cycle detection -- directed simple cycles matching edge-type sequences (e.g. payment-appointment kickbacks)
- Path detection -- constrained DFS matching edge types and node labels (e.g. family appointments, payment influence chains)
- Hub detection -- Person-Organization pairs with concentrated influence edges exceeding a threshold
All algorithms operate on in-memory subgraphs with O(1) adjacency lookups. Detection completes in <50ms for subgraphs up to 10K nodes / 50K edges.
Usage
use ;
use ;
let subgraph = Subgraph ;
let indexed = from_subgraph;
let results = detect_conflicts;
License
MIT