Skip to content

Commit 608ca40

Browse files
committed
lineage old removed
1 parent e69fd10 commit 608ca40

File tree

6 files changed

+1
-523
lines changed

6 files changed

+1
-523
lines changed

src/ui/components/lineage/index.tsx

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,19 +137,6 @@ export const LayoutFlow: React.FC<any> = (graph: any, runId: any) => {
137137
// eslint-disable-next-line react-hooks/exhaustive-deps
138138
[],
139139
);
140-
const onLayout = useCallback(
141-
(direction) => {
142-
const {
143-
initialNodes: layoutedNodes,
144-
initialEdges: layoutedEdges,
145-
} = getLayoutedElements(graph.graph.nodes, graph.graph.edges, direction);
146-
147-
setNodes([...layoutedNodes]);
148-
setEdges([...layoutedEdges]);
149-
},
150-
// eslint-disable-next-line react-hooks/exhaustive-deps
151-
[nodes, edges],
152-
);
153140

154141
return (
155142
<>
@@ -166,8 +153,7 @@ export const LayoutFlow: React.FC<any> = (graph: any, runId: any) => {
166153
>
167154
Refresh
168155
</button>
169-
{/* <button onClick={() => onLayout('TB')}>Vertical Layout</button>
170-
<button onClick={() => onLayout('LR')}>Horizontal Layout</button> */}
156+
171157
<div style={{ position: 'relative' }}>
172158
<button onClick={() => setLegend(!legend)}>Legend</button>
173159
<div className="legend" style={{ display: legend ? '' : 'none' }}>

src/ui/components/lineage_OLD/artifact.tsx

Lines changed: 0 additions & 106 deletions
This file was deleted.

src/ui/components/lineage_OLD/index.module.scss

Lines changed: 0 additions & 72 deletions
This file was deleted.

src/ui/components/lineage_OLD/index.tsx

Lines changed: 0 additions & 148 deletions
This file was deleted.

0 commit comments

Comments
 (0)