re-add graph constructors