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
4d8d775
commit 387b081
Showing
12 changed files
with
405 additions
and
122 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
11 changes: 10 additions & 1 deletion
11
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,18 @@ | ||
import type { ElementModel, GraphElement, DefaultGroup as TopologyDefaultGroup } from '@patternfly/react-topology'; | ||
import type { | ||
ConnectDropTarget, | ||
ElementModel, | ||
GraphElement, | ||
DefaultGroup as TopologyDefaultGroup, | ||
} from '@patternfly/react-topology'; | ||
import { CanvasNode } from '../../Canvas'; | ||
|
||
type DefaultGroupProps = Parameters<typeof TopologyDefaultGroup>[0]; | ||
export interface CustomGroupProps extends DefaultGroupProps { | ||
element: GraphElement<ElementModel, CanvasNode['data']>; | ||
/** Toggle node collapse / expand */ | ||
onCollapseToggle?: () => void; | ||
dndDropRef?: ConnectDropTarget; | ||
hover?: boolean; | ||
droppable?: boolean; | ||
canDrop?: 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.