Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update convertToFlowElements.ts

Daniel Hougaard831d390572c5
diff --git a/frontend/src/components/secrets/SecretReferenceDetails/utils/convertToFlowElements.ts b/frontend/src/components/secrets/SecretReferenceDetails/utils/convertToFlowElements.ts
index 4ef0a8bc0a..9bef814c7d 100644
--- a/frontend/src/components/secrets/SecretReferenceDetails/utils/convertToFlowElements.ts
+++ b/frontend/src/components/secrets/SecretReferenceDetails/utils/convertToFlowElements.ts
@@ -54,7 +54,12 @@ export const convertDependencyTreeToFlow = (tree: TSecretDependencyTreeNode) =>
source: nodeId,
target: parentId,
type: "secretEdge",
- markerEnd: { type: MarkerType.Arrow, color: isCircular ? "#ef4444" : "#707174" },
+ markerEnd: {
+ type: MarkerType.Arrow,
+ color: isCircular ? "#ef4444" : "#707174",
+ width: 20,
+ height: 20
+ },
data: { isCircular }
});
}