Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenRaiser/PaperFlow
/ clamp
Function
clamp
deployments/desktop/static/desktop.js:3237–3239 ·
view source on GitHub ↗
(value, min, max)
Source
from the content-addressed store, hash-verified
3235
}
3236
3237
function
clamp(value, min, max) {
3238
return
Math.max(min, Math.min(max, value));
3239
}
3240
3241
function
graphAnchor(node) {
3242
const
type
= graphType(node);
Callers
3
layoutGraph
Function · 0.70
clampWikiGraphPan
Function · 0.70
zoomWikiGraph
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected