Skip to content

Commit

Permalink
fix(graph): fix display of task graph in docs (nrwl#15913)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipjfulcher authored Mar 27, 2023
1 parent 67c6f25 commit 74fed92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion graph/ui-graph/src/lib/nx-task-graph-viz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export function NxTaskGraphViz({
taskGraphs,
});
graph.handleTaskEvent({
type: 'notifyTaskGraphTasksSelected',
type: 'notifyTaskGraphSetTasks',
taskIds: [taskId],
});
setGraph(graph);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export class TaskTraversalGraph {
taskIds.forEach((taskId) => {
this.selectedTasks.add(taskId);
});
this.createElements(Array.from(this.selectedTasks), this.groupByProject);

return this.cy.elements();
}
Expand Down

0 comments on commit 74fed92

Please sign in to comment.