run()

in client/containers/workflow-history/components/workflow-graph/helpers/cytoscape-layout.js [33:46]


  run() {
    const options = this.options;
    const eles = options.eles;
    const nodes = eles
      .nodes()
      .sort((n1, n2) => n1.data().timestamp - n2.data().timestamp);
    const edges = eles.edges();

    arrangeGraph({ nodes, edges }, options);

    nodes.layoutPositions(this, options, ele => {
      return ele.scratch(CYTOSCAPE_LAYOUT_NAME).position;
    });
  }