draw dependency arrow