Skip to content

Commit

Permalink
fix(graph): fix display of task graph in docs (#15913)
Browse files Browse the repository at this point in the history
  • Loading branch information
philipjfulcher committed 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

1 comment on commit 74fed92

@vercel
Copy link

@vercel vercel bot commented on 74fed92 Mar 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx.dev
nx-five.vercel.app
nx-dev-nrwl.vercel.app

Please sign in to comment.