pub fn validate(graph: &GraphProto) -> Result<(), ValidationError>
Validate the recorded graph. Pure.