MCPcopy Create free account
hub / github.com/Pometry/Raphtory / doubleClickOnNode

Function doubleClickOnNode

ui-tests/tests/e2e/graph.utils.ts:92–95  ·  view source on GitHub ↗
(page: Page, displayName: string)

Source from the content-addressed store, hash-verified

90}
91
92export async function doubleClickOnNode(page: Page, displayName: string) {
93 const position = await getNodePosition(page, displayName);
94 await page.locator('canvas').nth(1).dblclick({ position });
95}
96
97/** Click the first node normally, then Shift-click the rest to multi-select. */
98export async function clickOnNodes(page: Page, displayNames: string[]) {

Callers 3

expandByDoubleClickFunction · 0.90
graph.spec.tsFile · 0.90

Calls 2

getNodePositionFunction · 0.85
nthMethod · 0.45

Tested by 2

expandByDoubleClickFunction · 0.72