Network Analysis and Causal Learning with SEMgraph