added graph_window/2, provides callback with context graph unused
elsewhere