runable version of dynamic graph