visualizer: rename GraphVisualizer -> DetailedVisualizer
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -19,7 +19,7 @@ import { useApi } from '@backstage/core-plugin-api';
|
||||
import { appTreeApiRef } from '@backstage/frontend-plugin-api';
|
||||
import Box from '@material-ui/core/Box';
|
||||
import React, { useCallback, useEffect, useMemo } from 'react';
|
||||
import { GraphVisualizer } from './GraphVisualizer';
|
||||
import { DetailedVisualizer } from './DetailedVisualizer';
|
||||
import { TextVisualizer } from './TextVisualizer';
|
||||
import { TreeVisualizer } from './TreeVisualizer';
|
||||
import {
|
||||
@@ -43,10 +43,10 @@ export function AppVisualizerPage() {
|
||||
element: <TreeVisualizer tree={tree} />,
|
||||
},
|
||||
{
|
||||
id: 'graph',
|
||||
path: 'graph',
|
||||
label: 'Graph',
|
||||
element: <GraphVisualizer tree={tree} />,
|
||||
id: 'detailed',
|
||||
path: 'detailed',
|
||||
label: 'Detailed',
|
||||
element: <DetailedVisualizer tree={tree} />,
|
||||
},
|
||||
{
|
||||
id: 'text',
|
||||
|
||||
+1
-1
@@ -353,7 +353,7 @@ function Legend() {
|
||||
);
|
||||
}
|
||||
|
||||
export function GraphVisualizer({ tree }: { tree: AppTree }) {
|
||||
export function DetailedVisualizer({ tree }: { tree: AppTree }) {
|
||||
return (
|
||||
<Box display="flex" height="100%" flex="1 1 100%" flexDirection="column">
|
||||
<Box flex="1 1 0" overflow="auto" ml={2} mt={2}>
|
||||
Reference in New Issue
Block a user