Skip to content

Commit

Permalink
added selected edge (#3066)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnaik1 authored Aug 6, 2024
1 parent 9e87e70 commit 7ef421f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion frontend/src/concepts/topology/PipelineTaskEdge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ import {
EdgeTerminalType,
observer,
TaskEdge,
WithSelectionProps,
isEdge,
} from '@patternfly/react-topology';

interface PipelineTaskEdgeProps {
interface PipelineTaskEdgeProps extends WithSelectionProps {
element: GraphElement;
}

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/concepts/topology/factories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const pipelineComponentFactory: ComponentFactory = (kind, type) => {
case DEFAULT_SPACER_NODE_TYPE:
return SpacerNode;
case DEFAULT_EDGE_TYPE:
return PipelineTaskEdge;
return withSelection()(PipelineTaskEdge);
case EXECUTION_TASK_NODE_TYPE:
return withSelection()(PipelineDefaultTaskGroup);
default:
Expand Down

0 comments on commit 7ef421f

Please sign in to comment.