Merge pull request #4502 from adamdmharvey/system-diagram

catalog: Add new System Diagram card
This commit is contained in:
Adam Harvey
2021-03-26 10:24:55 -04:00
committed by GitHub
7 changed files with 345 additions and 0 deletions
@@ -39,6 +39,7 @@ import {
EntityHasSystemsCard,
EntityLinksCard,
EntityPageLayout,
EntitySystemDiagramCard,
} from '@backstage/plugin-catalog';
import { EntityProvider, useEntity } from '@backstage/plugin-catalog-react';
import {
@@ -501,6 +502,11 @@ const SystemEntityPage = ({ entity }: { entity: Entity }) => (
title="Overview"
element={<SystemOverviewContent entity={entity as SystemEntity} />}
/>
<EntityPageLayout.Content
path="/diagram/*"
title="Diagram"
element={<EntitySystemDiagramCard />}
/>
</EntityPageLayoutWrapper>
);