MCPcopy Index your code
hub / github.com/easydiffusion/easydiffusion / updateChart

Function updateChart

ui/plugins/ui/model-tools.plugin.js:460–474  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

458 }
459
460 function updateChart() {
461 let fn = (x) => x
462 switch (document.querySelector("#merge-interpolation").value) {
463 case "SmoothStep":
464 fn = smoothstep
465 break
466 case "SmootherStep":
467 fn = smootherstep
468 break
469 case "SmoothestStep":
470 fn = smootheststep
471 break
472 }
473 drawDiagram(fn)
474 }
475
476 function initMergeUI() {
477 const tabSettingsSingle = document.querySelector("#tab-merge-opts-single")

Callers 1

initMergeUIFunction · 0.85

Calls 1

drawDiagramFunction · 0.85

Tested by

no test coverage detected