fix(edges): edges not reacting to hidden nodes
* Change getEdges to parse edges with source & target nodes and filter if one of them is missing * add new type for Edges w sourceTargetNode called GraphEdge which is the return type of getEdges * Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
@@ -5,15 +5,16 @@ import {
|
||||
ElementId,
|
||||
Elements,
|
||||
FitViewParams,
|
||||
FlowOptions, Loading,
|
||||
FlowOptions,
|
||||
Loading,
|
||||
Position,
|
||||
XYPosition,
|
||||
} from './flow'
|
||||
import { Connection, ConnectionLineType, ConnectionMode } from './connection'
|
||||
import { GraphNode, Node, NodeExtent, NodeTypes, TranslateExtent } from './node'
|
||||
import { FlowStore } from '~/types/store'
|
||||
import { EdgeTypes } from '~/types/edge'
|
||||
import { KeyCode, PanOnScrollMode } from '~/types/zoom'
|
||||
import { FlowStore } from './store'
|
||||
import { EdgeTypes } from './edge'
|
||||
import { KeyCode, PanOnScrollMode } from './zoom'
|
||||
|
||||
export type HandleType = 'source' | 'target'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user