drawDOM
Converts the given DOM element to a drawing scene (see example). The operation is asynchronous and returns a promise that will be resolved with the root Group
of the scene.
Parameters
element HTMLElement
The root DOM element to draw.
options? DrawOptions
The conversion options.
Returns
Promise<Group> - A promise that will be resolved with the root Group
of the scene.