selectCriticalPath() {
    let criticalPathNodeIds =
        this.irGraph_.nodes()
            .filter((n) => 'on_critical_path' in n.attributes)
            .map((n) => n.id);
    this.applyChange_(this.graph_.selectOnlyNodes(criticalPathNodeIds));
  }
/**
   * Selects the nodes on the critical path through the graph. All other nodes
   * are unselected.
   */
Selects the nodes on the critical path through the graph. All other nodes
are unselected.
Selects the nodes on the critical path through the graph . All other nodes are unselected .
selectCriticalPath() {
    let criticalPathNodeIds =
        this.irGraph_.nodes()
            .filter((n) => 'on_critical_path' in n.attributes)
            .map((n) => n.id);
    this.applyChange_(this.graph_.selectOnlyNodes(criticalPathNodeIds));
  }
selectCriticalPath ( ) { let criticalPathNodeIds = this . irGraph_ . nodes ( ) . filter ( ( n ) => 'on_critical_path' in n . attributes ) . map ( ( n ) => n . id ) ; this . applyChange_ ( this . graph_ . selectOnlyNodes ( criticalPathNodeIds ) ) ; }
Selects the nodes on the critical path through the graph.
Selects the nodes on the critical path through the graph .