working on rendering graphs