MCPcopy Create free account
hub / github.com/alibaba/lowcode-graph / getSelectedEdges

Function getSelectedEdges

packages/plugin-tools/src/common/utils.ts:73–75  ·  view source on GitHub ↗
(graph: G6.Graph)

Source from the content-addressed store, hash-verified

71
72/** 获取选中边线 */
73export function getSelectedEdges(graph: G6.Graph): G6.Edge[] {
74 return graph.findAllByState(ItemType.Edge, ItemState.Selected);
75}
76
77/** 获取高亮边线 */
78export function getHighlightEdges(graph: G6.Graph): G6.Edge[] {

Callers 3

getGraphStateFunction · 0.70
setSelectedItemsFunction · 0.70
clearSelectedStateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected