(graph: G6.Graph)
| 66 | |
| 67 | /** 获取选中节点 */ |
| 68 | export function getSelectedNodes(graph: G6.Graph): G6.Node[] { |
| 69 | return graph.findAllByState(ItemType.Node, ItemState.Selected); |
| 70 | } |
| 71 | |
| 72 | /** 获取选中边线 */ |
| 73 | export function getSelectedEdges(graph: G6.Graph): G6.Edge[] { |
no outgoing calls
no test coverage detected