forked from KaotoIO/kaoto
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a705f6
commit 98e4a92
Showing
15 changed files
with
473 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 8 additions & 2 deletions
10
packages/ui/src/components/Visualization/Custom/Group/Group.models.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,15 @@ | ||
import type { ElementModel, GraphElement, DefaultGroup as TopologyDefaultGroup } from '@patternfly/react-topology'; | ||
import type { | ||
ElementModel, | ||
GraphElement, | ||
DefaultGroup as TopologyDefaultGroup, | ||
WithDndDropProps, | ||
} from '@patternfly/react-topology'; | ||
import { CanvasNode } from '../../Canvas'; | ||
|
||
type DefaultGroupProps = Parameters<typeof TopologyDefaultGroup>[0]; | ||
export interface CustomGroupProps extends DefaultGroupProps { | ||
export interface CustomGroupProps extends DefaultGroupProps, WithDndDropProps { | ||
element: GraphElement<ElementModel, CanvasNode['data']>; | ||
/** Toggle node collapse / expand */ | ||
onCollapseToggle?: () => void; | ||
droppable?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.