Skip to contents

Reads a .rds file previously written by causal_kg_save() and reconstructs the edaphos_causal_kg. The reconstruction is careful: it re-calls causal_kg_add_edge() for every saved edge so that the duplicate-edge merge + cycle check + normalisation rules stay consistent with a freshly-built graph.

Usage

causal_kg_load(path)

Arguments

path

Path to the .rds file.

Value

An edaphos_causal_kg.