        const element: HTMLElement | null = document.getElementById(id)
        if (element === null) throw Error('Cannot find HTMLElement.')

        const stage = new Konva.Stage({
            container: id,
            width: element.clientWidth,