add source and target to untyped graph, derived default impl