Merge pull request #14884 from vorbrodt/catalog-graph-overwhelmed

Catalog graph overwhelmed
This commit is contained in:
Johan Haals
2022-11-30 10:30:02 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-graph': patch
---
Set the default `maxDepth` prop for `EntityRelationsGraph` to a smaller value to provide better readability.
@@ -89,7 +89,7 @@ export const EntityRelationsGraph = (props: {
}) => {
const {
rootEntityNames,
maxDepth = Number.POSITIVE_INFINITY,
maxDepth = 2,
unidirectional = true,
mergeRelations = true,
kinds,