Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tldraw/tldraw
/ getShape
Function
getShape
packages/tldraw/src/lib/shapes/line/LineShapeUtil.test.tsx:42–42 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
})
41
42
const getShape = () => editor.getShape<TLLineShape>(id)!
43
const getHandles = () => editor.getShapeHandles<TLLineShape>(id)!
44
45
describe(
'Translating'
, () => {
Callers
1
LineShapeUtil.test.tsx
File · 0.70
Calls
1
getShape
Method · 0.80
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…