finished graph stuff for OreGui