Pass through ReplicantConfig to work with the latest version of the replicant library
Graph links should be a chain of non-null immutable references. The exception being that the first link may be null.

Update the code to enforce this.