From daf5927c09110f6429a0660da60ce528e00db79d Mon Sep 17 00:00:00 2001 From: RunDevelopment Date: Sun, 22 May 2022 12:13:37 +0200 Subject: [PATCH] Formatting --- src/container/EdgeRenderer/index.tsx | 50 ++++++++++++++++------------ 1 file changed, 29 insertions(+), 21 deletions(-) diff --git a/src/container/EdgeRenderer/index.tsx b/src/container/EdgeRenderer/index.tsx index 2f4fdc37..eb524e7f 100644 --- a/src/container/EdgeRenderer/index.tsx +++ b/src/container/EdgeRenderer/index.tsx @@ -73,7 +73,13 @@ const EdgeRenderer = (props: EdgeRendererProps) => { return null; } - const { connectionLineType, defaultMarkerColor, connectionLineStyle, connectionLineComponent, connectionLineContainerStyle } = props; + const { + connectionLineType, + defaultMarkerColor, + connectionLineStyle, + connectionLineComponent, + connectionLineContainerStyle, + } = props; const renderConnectionLine = connectionNodeId && connectionHandleType; return ( @@ -183,26 +189,28 @@ const EdgeRenderer = (props: EdgeRendererProps) => { ))} - {renderConnectionLine && - - - - } + {renderConnectionLine && ( + + + + + + )} ); };