bit of a hack to make the toplevel happy with graph and not print it