function Modeling(eventBus, elementFactory, commandStack) {
  this._eventBus = eventBus;
  this._elementFactory = elementFactory;
  this._commandStack = commandStack;

  var self = this;

  eventBus.on('diagram.init', function() {

    // register modeling handlers
    self.registerHandlers(commandStack);
  });
}
The basic modeling entry point.

@template {Connection} [T=Connection]
@template {Element} [U=Element]
@template {Label} [V=Label]
@template {Parent} [W=Parent]
@template {Shape} [X=Shape]

@param {EventBus} eventBus
@param {ElementFactory} elementFactory
@param {CommandStack} commandStack