From a0d446c8ecc4163a981ec1313124dab67f7db85b Mon Sep 17 00:00:00 2001 From: mufaddal motiwala Date: Fri, 21 Jan 2022 00:26:29 +0530 Subject: [PATCH] add @backstage/create-app changeset Signed-off-by: mufaddal motiwala --- .changeset/metal-bottles-lay.md | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 .changeset/metal-bottles-lay.md diff --git a/.changeset/metal-bottles-lay.md b/.changeset/metal-bottles-lay.md new file mode 100644 index 0000000000..e36b1c644f --- /dev/null +++ b/.changeset/metal-bottles-lay.md @@ -0,0 +1,52 @@ +--- +'@backstage/create-app': patch +--- + +Replaced EntitySystemDiagramCard with EntityCatalogGraphCard + +To make this change to an existing app: + +`yarn add @backstage/catalog-graph-plugin` + +Apply the following changes to the `packages/app/src/components/catalog/EntityPage.tsx` file: + +```diff ++ import { ++ Direction, ++ EntityCatalogGraphCard, ++ } from '@backstage/plugin-catalog-graph'; ++ import { ++ RELATION_API_CONSUMED_BY, ++ RELATION_API_PROVIDED_BY, ++ RELATION_CONSUMES_API, ++ RELATION_DEPENDENCY_OF, ++ RELATION_DEPENDS_ON, ++ RELATION_HAS_PART, ++ RELATION_PART_OF, ++ RELATION_PROVIDES_API, ++ } from '@backstage/catalog-model'; +``` + +`````diff + +- ++ + + ```` +`````