0.4.11 • Published 2 months ago

@backstage/plugin-catalog-graph v0.4.11

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 months ago

catalog-graph

Welcome to the catalog graph plugin! The catalog graph visualizes the relations between entities, like ownership, grouping or API relationships.

The plugin comes with these features:

  • EntityCatalogGraphCard: A card that displays the directly related entities to the current entity. This card is for use on the entity page. The card can be customized, for example filtering for specific relations.

  • CatalogGraphPage: A standalone page that can be added to your application providing a viewer for your entities and their relations. The viewer can be used to navigate through the entities and filter for specific relations. You can access it from the EntityCatalogGraphCard.

  • EntityRelationsGraph: A react component that can be used to build own customized entity relation graphs.

Usage

To use the catalog graph plugin, you have to add some things to your Backstage app:

  1. Add a dependency to your packages/app/package.json, run:
     yarn add @backstage/plugin-catalog-graph
  2. Add the CatalogGraphPage to your packages/app/src/App.tsx:

    <FlatRoutes>
      …
      <Route path="/catalog-graph" element={<CatalogGraphPage />} />…
    </FlatRoutes>

    You can configure the page to open with some initial filters:

    <Route
      path="/catalog-graph"
      element={
        <CatalogGraphPage
          initialState={{
            selectedKinds: ['component', 'domain', 'system', 'api', 'group'],
            selectedRelations: [
              RELATION_OWNER_OF,
              RELATION_OWNED_BY,
              RELATION_CONSUMES_API,
              RELATION_API_CONSUMED_BY,
              RELATION_PROVIDES_API,
              RELATION_API_PROVIDED_BY,
              RELATION_HAS_PART,
              RELATION_PART_OF,
              RELATION_DEPENDS_ON,
              RELATION_DEPENDENCY_OF,
            ],
          }}
        />
      }
    />
  3. Bind the external routes of the catalogGraphPlugin in your packages/app/src/App.tsx:

    bindRoutes({ bind }) {
      …
      bind(catalogGraphPlugin.externalRoutes, {
        catalogEntity: catalogPlugin.routes.catalogEntity,
      });
      …
    }
  4. Add EntityCatalogGraphCard to any entity page that you want in your packages/app/src/components/catalog/EntityPage.tsx:

    <Grid item md={6} xs={12}>
      <EntityCatalogGraphCard variant="gridItem" maxHeight={400} />
    </Grid>
0.4.12-next.1

2 months ago

0.4.12-next.0

2 months ago

0.4.11

2 months ago

0.4.11-next.2

2 months ago

0.4.11-next.1

3 months ago

0.4.10

3 months ago

0.4.10-next.0

3 months ago

0.4.9-next.0

4 months ago

0.4.9-next.2

3 months ago

0.4.9-next.1

4 months ago

0.4.9

3 months ago

0.4.7-next.1

6 months ago

0.4.7-next.2

6 months ago

0.4.7-next.0

6 months ago

0.4.8-next.1

5 months ago

0.4.8-next.0

5 months ago

0.4.8-next.4

4 months ago

0.4.8-next.3

5 months ago

0.4.8-next.2

5 months ago

0.4.6-next.1

7 months ago

0.4.6-next.0

7 months ago

0.4.6-next.2

6 months ago

0.4.8

4 months ago

0.4.7

5 months ago

0.4.6

6 months ago

0.4.5

7 months ago

0.4.5-next.2

8 months ago

0.4.5-next.1

8 months ago

0.4.5-next.0

8 months ago

0.4.4

8 months ago

0.4.4-next.1

9 months ago

0.4.4-next.0

9 months ago

0.4.3

9 months ago

0.4.2

9 months ago

0.4.1

9 months ago

0.4.1-next.2

9 months ago

0.4.1-next.1

10 months ago

0.4.1-next.0

10 months ago

0.4.0

10 months ago

0.4.0-next.3

10 months ago

0.4.0-next.2

11 months ago

0.3.4-next.1

11 months ago

0.3.4-next.0

11 months ago

0.3.3

11 months ago

0.3.3-next.2

12 months ago

0.3.3-next.1

12 months ago

0.3.3-next.0

12 months ago

0.3.2

1 year ago

0.3.2-next.3

1 year ago

0.3.2-next.2

1 year ago

0.3.2-next.1

1 year ago

0.2.35-next.0

1 year ago

0.2.36-next.3

1 year ago

0.2.36-next.2

1 year ago

0.2.36-next.1

1 year ago

0.2.32-next.2

1 year ago

0.2.32-next.1

1 year ago

0.2.38-next.1

1 year ago

0.2.38-next.2

1 year ago

0.2.38-next.0

1 year ago

0.2.37-next.2

1 year ago

0.2.37-next.0

1 year ago

0.2.37-next.1

1 year ago

0.2.33-next.2

1 year ago

0.2.33-next.0

1 year ago

0.2.33-next.1

1 year ago

0.3.0

1 year ago

0.3.1

1 year ago

0.3.2-next.0

1 year ago

0.2.37

1 year ago

0.2.36

1 year ago

0.2.35

1 year ago

0.2.34

1 year ago

0.2.33

1 year ago

0.2.32

1 year ago

0.2.32-next.0

1 year ago

0.2.31-next.3

2 years ago

0.2.31-next.2

2 years ago

0.2.31

2 years ago

0.2.30-next.1

2 years ago

0.2.30-next.2

2 years ago

0.2.31-next.1

2 years ago

0.2.31-next.0

2 years ago

0.2.30

2 years ago

0.2.30-next.0

2 years ago

0.2.29-next.3

2 years ago

0.2.29

2 years ago

0.2.29-next.0

2 years ago

0.2.29-next.1

2 years ago

0.2.29-next.2

2 years ago

0.2.28-next.1

2 years ago

0.2.28-next.0

2 years ago

0.2.28-next.2

2 years ago

0.2.27

2 years ago

0.2.28

2 years ago

0.2.26-next.2

2 years ago

0.2.26-next.1

2 years ago

0.2.26

2 years ago

0.2.27-next.0

2 years ago

0.2.27-next.1

2 years ago

0.2.27-next.2

2 years ago

0.2.24-next.1

2 years ago

0.2.24-next.0

2 years ago

0.2.26-next.0

2 years ago

0.2.24-next.3

2 years ago

0.2.24-next.2

2 years ago

0.2.24-next.4

2 years ago

0.2.25

2 years ago

0.2.24

2 years ago

0.2.23

2 years ago

0.2.22

2 years ago

0.2.23-next.0

2 years ago

0.2.23-next.1

2 years ago

0.2.22-next.0

2 years ago

0.2.22-next.1

2 years ago

0.2.22-next.2

2 years ago

0.2.21

2 years ago

0.2.21-next.0

2 years ago

0.2.21-next.2

2 years ago

0.2.21-next.1

2 years ago

0.2.19-next.0

3 years ago

0.2.19-next.1

2 years ago

0.2.19-next.2

2 years ago

0.2.19-next.3

2 years ago

0.2.20-next.0

2 years ago

0.2.20-next.1

2 years ago

0.2.20

2 years ago

0.2.19

2 years ago

0.2.18

3 years ago

0.2.18-next.0

3 years ago

0.2.18-next.1

3 years ago

0.2.17

3 years ago

0.2.17-next.2

3 years ago

0.2.17-next.0

3 years ago

0.2.17-next.1

3 years ago

0.2.16

3 years ago

0.2.15

3 years ago

0.2.14

3 years ago

0.2.16-next.0

3 years ago

0.2.16-next.1

3 years ago

0.2.16-next.2

3 years ago

0.2.16-next.3

3 years ago

0.2.14-next.0

3 years ago

0.2.13

3 years ago

0.2.7-next.0

3 years ago

0.2.9-next.0

3 years ago

0.2.12

3 years ago

0.2.11

3 years ago

0.2.10

3 years ago

0.2.10-next.0

3 years ago

0.2.7

3 years ago

0.2.6

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.3

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago