stuff for new graphs
keep ids