fix(react): connectionline
This commit is contained in:
@@ -155,7 +155,7 @@ function ConnectionLineWrapper({ containerStyle, style, type, component }: Conne
|
|||||||
style={containerStyle}
|
style={containerStyle}
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
className="react-flow__edges react-flow__connectionline react-flow__container"
|
className="react-flow__connectionline react-flow__container"
|
||||||
>
|
>
|
||||||
<g className={cc(['react-flow__connection', connectionStatus])}>
|
<g className={cc(['react-flow__connection', connectionStatus])}>
|
||||||
<ConnectionLine
|
<ConnectionLine
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ type EdgeRendererProps = Pick<
|
|||||||
| 'disableKeyboardA11y'
|
| 'disableKeyboardA11y'
|
||||||
| 'edgeTypes'
|
| 'edgeTypes'
|
||||||
> & {
|
> & {
|
||||||
children: ReactNode;
|
children?: ReactNode;
|
||||||
};
|
};
|
||||||
|
|
||||||
const selector = (s: ReactFlowState) => ({
|
const selector = (s: ReactFlowState) => ({
|
||||||
|
|||||||
@@ -165,14 +165,13 @@ const GraphView = ({
|
|||||||
noPanClassName={noPanClassName}
|
noPanClassName={noPanClassName}
|
||||||
disableKeyboardA11y={disableKeyboardA11y}
|
disableKeyboardA11y={disableKeyboardA11y}
|
||||||
rfId={rfId}
|
rfId={rfId}
|
||||||
>
|
/>
|
||||||
<ConnectionLine
|
<ConnectionLine
|
||||||
style={connectionLineStyle}
|
style={connectionLineStyle}
|
||||||
type={connectionLineType}
|
type={connectionLineType}
|
||||||
component={connectionLineComponent}
|
component={connectionLineComponent}
|
||||||
containerStyle={connectionLineContainerStyle}
|
containerStyle={connectionLineContainerStyle}
|
||||||
/>
|
/>
|
||||||
</EdgeRenderer>
|
|
||||||
<div className="react-flow__edgelabel-renderer" />
|
<div className="react-flow__edgelabel-renderer" />
|
||||||
<div className="react-flow__viewport-portal" />
|
<div className="react-flow__viewport-portal" />
|
||||||
<NodeRenderer
|
<NodeRenderer
|
||||||
|
|||||||
Reference in New Issue
Block a user