Skip to content

Commit ec556d5

Browse files
authored
fix ontology explorer active parent nav (#27461)
* fix ontology explorer active parent nav * fix data mode position issue * Addreesed comments * Refactor code * fix lint issue
1 parent 62362d7 commit ec556d5

28 files changed

Lines changed: 2498 additions & 2098 deletions

openmetadata-ui/src/main/resources/ui/src/components/OntologyExplorer/OntologyExplorer.interface.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,10 @@
1414
import { Glossary } from '../../generated/entity/data/glossary';
1515
import { EntityReference } from '../../generated/entity/type';
1616
import { GlossaryTermRelationType } from '../../rest/settingConfigAPI';
17-
import type { LayoutEngineType } from './OntologyExplorer.constants';
17+
import {
18+
LayoutType,
19+
type LayoutEngineType,
20+
} from './OntologyExplorer.constants';
1821

1922
export type OntologyScope = 'global' | 'glossary' | 'term';
2023

@@ -60,10 +63,8 @@ export interface OntologyGraphData {
6063
edges: OntologyEdge[];
6164
}
6265

63-
import { LayoutType } from './OntologyExplorer.constants';
6466
import type { GraphSearchHighlightInput } from './utils/graphSearchHighlight';
6567

66-
export type LayoutAlgorithm = LayoutType;
6768
export type { LayoutEngineType } from './OntologyExplorer.constants';
6869
export type { GraphSearchHighlightInput } from './utils/graphSearchHighlight';
6970
export type GraphViewMode = 'overview' | 'hierarchy' | 'crossGlossary';
@@ -144,7 +145,6 @@ export interface FilterToolbarProps {
144145
export interface GraphSettingsPanelProps {
145146
settings: GraphSettings;
146147
onSettingsChange: (settings: GraphSettings) => void;
147-
isDataMode?: boolean;
148148
}
149149

150150
export interface NodeContextMenuProps {

0 commit comments

Comments
 (0)