init() {
    u.log(1, `flowchart[${this.data.name}].init()`);
    if (this.xgraph === undefined)
      this.xgraph = new XGraph(this.container, this.data.type, this.getContent());
    if (this.data.xml !== undefined && this.data.xml !== null) {
      this.xgraph.drawGraph();
      if (this.data.tooltip) this.xgraph.tooltipGraph(true);
      if (this.data.scale) this.xgraph.scaleGraph(true);
      else this.xgraph.zoomGraph(this.data.zoom);
      if (this.data.center) this.xgraph.centerGraph(true);
      if (this.data.lock) this.xgraph.lockGraph(true);
      this.stateHandler = new StateHandler(this.xgraph, this.ctrl);
    } else {
      u.log(3, 'XML Graph not defined');
    }
  }
/**
   *Initialisation of flowchart class
   *
   * @memberof Flowchart
   */
Initialisation of flowchart class
@memberof Flowchart
Initialisation of flowchart class @memberof Flowchart
init() {
    u.log(1, `flowchart[${this.data.name}].init()`);
    if (this.xgraph === undefined)
      this.xgraph = new XGraph(this.container, this.data.type, this.getContent());
    if (this.data.xml !== undefined && this.data.xml !== null) {
      this.xgraph.drawGraph();
      if (this.data.tooltip) this.xgraph.tooltipGraph(true);
      if (this.data.scale) this.xgraph.scaleGraph(true);
      else this.xgraph.zoomGraph(this.data.zoom);
      if (this.data.center) this.xgraph.centerGraph(true);
      if (this.data.lock) this.xgraph.lockGraph(true);
      this.stateHandler = new StateHandler(this.xgraph, this.ctrl);
    } else {
      u.log(3, 'XML Graph not defined');
    }
  }
init ( ) { u . log ( 1 , ` ${ this . data . name } ` ) ; if ( this . xgraph === undefined ) this . xgraph = new XGraph ( this . container , this . data . type , this . getContent ( ) ) ; if ( this . data . xml !== undefined && this . data . xml !== null ) { this . xgraph . drawGraph ( ) ; if ( this . data . tooltip ) this . xgraph . tooltipGraph ( true ) ; if ( this . data . scale ) this . xgraph . scaleGraph ( true ) ; else this . xgraph . zoomGraph ( this . data . zoom ) ; if ( this . data . center ) this . xgraph . centerGraph ( true ) ; if ( this . data . lock ) this . xgraph . lockGraph ( true ) ; this . stateHandler = new StateHandler ( this . xgraph , this . ctrl ) ; } else { u . log ( 3 , 'XML Graph not defined' ) ; } }
Initialisation of flowchart class
 @memberof Flowchart
Initialisation of flowchart class @memberof Flowchart