How to import DiagramEditor

Newbie to Diagram.
I installed the dhx-diagram-package through npm. The Diagram can be imported, but NO DiagramEditor

import { Diagram, DiagramEditor } from "dhx-diagram-package"; // Diagram is OK, but DiagramEditor FAILED
import { DiagramEditor } from "../../node_modules/dhx-diagram-package/codebase/diagramWithEditor"; // this works

Is it possible to import DiagramEditor just like Diagram?
Thx

import { DiagramEditor } from "dhx-diagram-package/codebase/diagramWithEditor";

This also works. Thx

Hello @jyginger,

There are 2 sources for Diagram - with editor, and with no editor.
So it’s:

import { DiagramEditor } from "dhx-diagram-package/codebase/diagramWithEditor";

A correct and expected way to import DiagramEditor

Kind regards,