MCPcopy Index your code
hub / github.com/rgthree/rgthree-comfy / beforeRegisterNodeDef

Function beforeRegisterNodeDef

js/context.js:5–9  ·  view source on GitHub ↗
(nodeType, nodeData, app)

Source from the content-addressed store, hash-verified

3app.registerExtension({
4 name: "rgthree.Context",
5 async beforeRegisterNodeDef(nodeType, nodeData, app) {
6 if (nodeData.name === "Context (rgthree)") {
7 addConnectionLayoutSupport(nodeType, app, [['Left', 'Right'], ['Right', 'Left']]);
8 }
9 },
10});

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected