add assert graph