Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/twitter/labella.js
/ positionBefore
Method
positionBefore
src/core/node.js:38–40 ·
view source on GitHub ↗
(node, buffer=0)
Source
from the content-addressed store, hash-verified
36
}
37
38
positionBefore(node, buffer=0){
39
return
node.currentLeft() - this.width/2 - buffer;
40
}
41
42
positionAfter(node, buffer=0){
43
return
node.currentRight() + this.width/2 + buffer;
Callers
2
node.spec.js
File · 0.80
e
Function · 0.80
Calls
1
currentLeft
Method · 0.80
Tested by
no test coverage detected