Bobojy00/moonbit_factory_graph/src/diff does not have a README file

    EdgeDiffEntry

    pub(all) struct EdgeDiffEntry {
    edge_id : String
    source_id : String
    target_id : String
    flow_type :
    FlowType

    diff_type : EdgeDiffType
    old_bandwidth : Double
    new_bandwidth : Double
    } derive(Eq,
    Debug
    )

    EdgeDiffType

    pub(all) enum EdgeDiffType {
    EdgeAdded
    EdgeRemoved
    EdgeModified
    } derive(Eq,
    Debug
    )

    EdgeDiffType::to_string

    fn EdgeDiffType::to_string(self : EdgeDiffType) -> String

    MigrationRiskLevel

    pub(all) enum MigrationRiskLevel {
    LowRisk
    MediumRisk
    HighRisk
    CriticalRisk
    } derive(Eq,
    Debug
    )

    MigrationRiskLevel::to_string

    fn MigrationRiskLevel::to_string(self : MigrationRiskLevel) -> String

    NodeDiffEntry

    pub(all) struct NodeDiffEntry {
    node_id : String
    diff_type : NodeDiffType
    property_changes : Array[NodePropertyDiff]
    } derive(Eq,
    Debug
    )

    NodeDiffType

    pub(all) enum NodeDiffType {
    NodeAdded
    NodeRemoved
    NodeModified
    } derive(Eq,
    Debug
    )

    NodeDiffType::to_string

    fn NodeDiffType::to_string(self : NodeDiffType) -> String

    NodePropertyDiff

    pub(all) struct NodePropertyDiff {
    field_name : String
    old_value : String
    new_value : String
    is_breaking : Bool
    } derive(Eq,
    Debug
    )

    TopologyDiffReport

    pub(all) struct TopologyDiffReport {
    added_nodes : Array[String]
    removed_nodes : Array[String]
    modified_nodes : Array[NodeDiffEntry]
    added_edges : Array[String]
    removed_edges : Array[String]
    modified_edges : Array[EdgeDiffEntry]
    overall_risk_level : MigrationRiskLevel
    risk_score : Double
    breaking_changes : Array[String]
    mitigation_recommendations : Array[String]
    } derive(Eq,
    Debug
    )