weave-graph 0.2.6

Graph conflict detection and pattern matching for OSINT knowledge graphs
Documentation
pub mod detect;
pub mod graph;
pub mod patterns;

use nulid::Nulid;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Node {
    pub id: Nulid,
    pub label: String,
    pub name: String,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct Edge {
    pub id: Nulid,
    pub source_id: Nulid,
    pub target_id: Nulid,
    pub rel_type: String,
    pub source_urls: Vec<String>,
}