add digrap