From a84bd4d9ae7e11fec437e485d759fa642e5567e1 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Date: Mon, 25 Mar 2024 12:27:21 -0400 Subject: [PATCH] Don't collapse groups in pipeline layout demo --- .../src/demos/pipelinesDemo/DemoPipelinesGroup.tsx | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/packages/demo-app-ts/src/demos/pipelinesDemo/DemoPipelinesGroup.tsx b/packages/demo-app-ts/src/demos/pipelinesDemo/DemoPipelinesGroup.tsx index ca0f6440..7adfb980 100644 --- a/packages/demo-app-ts/src/demos/pipelinesDemo/DemoPipelinesGroup.tsx +++ b/packages/demo-app-ts/src/demos/pipelinesDemo/DemoPipelinesGroup.tsx @@ -1,7 +1,6 @@ import * as React from 'react'; import { DefaultTaskGroup, - EdgeCreationTypes, GraphElement, LabelPosition, observer, @@ -10,7 +9,6 @@ import { WithDragNodeProps, WithSelectionProps, } from '@patternfly/react-topology'; -import { GROUPED_EDGE_TYPE } from './pipelineComponentFactory'; type DemoPipelinesGroupProps = { element: GraphElement; @@ -18,12 +16,6 @@ type DemoPipelinesGroupProps = { WithDragNodeProps & WithSelectionProps; -const getEdgeCreationTypes = (): EdgeCreationTypes => ({ - edgeType: GROUPED_EDGE_TYPE, - spacerEdgeType: GROUPED_EDGE_TYPE, - finallyEdgeType: GROUPED_EDGE_TYPE, -}); - const DemoPipelinesGroup: React.FunctionComponent = ({ element }) => { const data = element.getData(); const detailsLevel = element.getGraph().getDetailsLevel() @@ -31,13 +23,10 @@ const DemoPipelinesGroup: React.FunctionComponent = ({ return ( ); };