chore(edges): remove group type

This commit is contained in:
moklick
2023-11-16 15:45:36 +01:00
parent 08e61f3111
commit 2fe9d57d2a
2 changed files with 0 additions and 7 deletions
@@ -10,7 +10,6 @@ import {
type PanZoomInstance,
type CoordinateExtent,
type IsValidConnection,
type GroupedEdges,
type NodeOrigin,
type OnError,
devWarn,
@@ -23,12 +23,6 @@ export function getEdgeCenter({
return [centerX, centerY, xOffset, yOffset];
}
export type GroupedEdges<EdgeType extends EdgeBase> = {
edges: EdgeType[];
level: number;
isMaxLevel: boolean;
};
export function adjustEdgeZIndex(edge: EdgeBase, nodeLookup: Map<string, NodeBase>, elevateEdgesOnSelect: boolean) {
const hasZIndex = isNumeric(edge.zIndex);
let z = hasZIndex ? edge.zIndex! : 0;