Download src/js/util/constants.js from merve/git-101: direct link, hf CLI and curl.
- Browser
- Download file 965 Bytes
-
https://huggingface.co/spaces/merve/git-101/resolve/main/src/js/util/constants.js
- Command line
-
hf download hf://spaces/merve/git-101/src/js/util/constants.js
-
curl -L -o constants.js https://huggingface.co/spaces/merve/git-101/resolve/main/src/js/util/constants.js
965 Bytes
| /** | |
| * Constants....!!! | |
| */ | |
| var TIME = { | |
| betweenCommandsDelay: 400 | |
| }; | |
| var VIEWPORT = { | |
| minZoom: 0.55, | |
| maxZoom: 1.25, | |
| minWidth: 600, | |
| minHeight: 600 | |
| }; | |
| var GRAPHICS = { | |
| arrowHeadSize: 8, | |
| nodeRadius: 17, | |
| curveControlPointOffset: 50, | |
| defaultEasing: 'easeInOut', | |
| defaultAnimationTime: 400, | |
| rectFill: 'hsb(0.8816909813322127,0.6,1)', | |
| headRectFill: '#7278FF', | |
| rectStroke: '#FFF', | |
| rectStrokeWidth: '3', | |
| originDash: '- ', | |
| multiBranchY: 20, | |
| multiTagY: 15, | |
| upstreamHeadOpacity: 0.5, | |
| upstreamNoneOpacity: 0.2, | |
| edgeUpstreamHeadOpacity: 0.4, | |
| edgeUpstreamNoneOpacity: 0.15, | |
| visBranchStrokeWidth: 2, | |
| visBranchStrokeColorNone: '#333', | |
| defaultNodeFill: 'hsba(0.5,0.6,0.7,1)', | |
| defaultNodeStrokeWidth: 2, | |
| defaultNodeStroke: '#FFF', | |
| tagFill: 'hsb(0,0,0.9)', | |
| tagStroke: '#FFF', | |
| tagStrokeWidth: '2', | |
| orphanNodeFill: 'hsb(0.5,0.8,0.7)' | |
| }; | |
| exports.TIME = TIME; | |
| exports.GRAPHICS = GRAPHICS; | |
| exports.VIEWPORT = VIEWPORT; | |