added operation graph

fixes #1309