From 39aa70963bc3a0503ca022ff36fe4ccd15a80cbc Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Mon, 13 May 2024 17:06:51 +1000 Subject: [PATCH] docs(ui): update docstrings for addGenerationTabSeamless --- .../features/nodes/util/graph/addGenerationTabSeamless.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/invokeai/frontend/web/src/features/nodes/util/graph/addGenerationTabSeamless.ts b/invokeai/frontend/web/src/features/nodes/util/graph/addGenerationTabSeamless.ts index d0ecc96482..709ba1416c 100644 --- a/invokeai/frontend/web/src/features/nodes/util/graph/addGenerationTabSeamless.ts +++ b/invokeai/frontend/web/src/features/nodes/util/graph/addGenerationTabSeamless.ts @@ -8,12 +8,13 @@ import { SEAMLESS } from './constants'; /** * Adds the seamless node to the graph and connects it to the model loader and denoise node. * Because the seamless node may insert a VAE loader node between the model loader and itself, - * this function returns the terminal model loader node in the graph. + * future nodes should be connected to the return value of this function. * @param state The current Redux state * @param g The graph to add the seamless node to * @param denoise The denoise node in the graph * @param modelLoader The model loader node in the graph - * @returns The terminal model loader node in the graph + * @param vaeLoader The VAE loader node in the graph, if it exists + * @returns The seamless node, if it was added to the graph */ export const addGenerationTabSeamless = ( state: RootState,