日本語
@eightkk/vue-weave / core / cullGraphElements
Function: cullGraphElements()
cullGraphElements(
bounds,view,keep?):GraphVisibleIds
Defined in: src/core/graphView.ts:207
Selects the nodes and edges whose bounds intersect or touch view (closed intervals, unlike graphRectsIntersect): the bounds leave out the stroke width, so an element whose bounds only touch the view edge can still draw into it. IDs listed in keep are always included when they exist, which lets a caller retain the selected, focused or currently edited elements.
Parameters
bounds
view
keep?
GraphCullKeep = {}