initGraph() {
    u.log(1, 'XGraph.initGraph()');
    const Graph = require('./Graph')({
      libs: 'arrows;basic;bpmn;flowchart'
    });
    require('./Shapes');
    require('./Graph_over');
    this.graph = new Graph(this.container);
    this.graph.getTooltipForCell = this.getTooltipForCell;

    
    // /!\ What is setPannig
    this.graph.setPanning(true);

    // Backup funtions of clicks
    this.clickBackup = this.graph.click;
    this.dbclickBackup = this.graph.dblClick;

    // EVENTS

    // CTRL+MOUSEWHEEL
    mxEvent.addMouseWheelListener(mxUtils.bind(this, this.eventMouseWheel), this.container);

    // KEYS
    mxEvent.addListener(document, 'keydown', mxUtils.bind(this, this.eventKey));

    // CONTEXT MENU
    // mxEvent.addListener(this.container, 'contextmenu', mxUtils.bind(this, function() {return false;}));
    this.container.addEventListener('contextmenu', e => e.preventDefault());

    // DB CLICK
    this.graph.dblClick = this.eventDbClick.bind(this);
  }
/**
   *Graph initilisation and reset
   *
   * @memberof XGraph
   */
Graph initilisation and reset
@memberof XGraph
Graph initilisation and reset @memberof XGraph
initGraph() {
    u.log(1, 'XGraph.initGraph()');
    const Graph = require('./Graph')({
      libs: 'arrows;basic;bpmn;flowchart'
    });
    require('./Shapes');
    require('./Graph_over');
    this.graph = new Graph(this.container);
    this.graph.getTooltipForCell = this.getTooltipForCell;
    this.graph.setPanning(true);
    this.clickBackup = this.graph.click;
    this.dbclickBackup = this.graph.dblClick;
    mxEvent.addMouseWheelListener(mxUtils.bind(this, this.eventMouseWheel), this.container);
    mxEvent.addListener(document, 'keydown', mxUtils.bind(this, this.eventKey));
    this.container.addEventListener('contextmenu', e => e.preventDefault());
    this.graph.dblClick = this.eventDbClick.bind(this);
  }
initGraph ( ) { u . log ( 1 , 'XGraph.initGraph()' ) ; const Graph = require ( './Graph' ) ( { libs : 'arrows;basic;bpmn;flowchart' } ) ; require ( './Shapes' ) ; require ( './Graph_over' ) ; this . graph = new Graph ( this . container ) ; this . graph . getTooltipForCell = this . getTooltipForCell ; this . graph . setPanning ( true ) ; this . clickBackup = this . graph . click ; this . dbclickBackup = this . graph . dblClick ; mxEvent . addMouseWheelListener ( mxUtils . bind ( this , this . eventMouseWheel ) , this . container ) ; mxEvent . addListener ( document , 'keydown' , mxUtils . bind ( this , this . eventKey ) ) ; this . container . addEventListener ( 'contextmenu' , e => e . preventDefault ( ) ) ; this . graph . dblClick = this . eventDbClick . bind ( this ) ; }
Graph initilisation and reset
 @memberof XGraph
Graph initilisation and reset @memberof XGraph
// /!\ What is setPannig // Backup funtions of clicks // EVENTS // CTRL+MOUSEWHEEL // KEYS // CONTEXT MENU // mxEvent.addListener(this.container, 'contextmenu', mxUtils.bind(this, function() {return false;})); // DB CLICK