mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): fix graphs using old field names
This commit is contained in:
parent
d95773f50f
commit
2dfcba8654
@ -108,13 +108,13 @@ export const addDynamicPromptsToGraph = (
|
||||
|
||||
// Connect random int to the start of the range of size so the range starts on the random first seed
|
||||
graph.edges.push({
|
||||
source: { node_id: RANDOM_INT, field: 'a' },
|
||||
source: { node_id: RANDOM_INT, field: 'value' },
|
||||
destination: { node_id: NOISE, field: 'seed' },
|
||||
});
|
||||
|
||||
if (metadataAccumulator) {
|
||||
graph.edges.push({
|
||||
source: { node_id: RANDOM_INT, field: 'a' },
|
||||
source: { node_id: RANDOM_INT, field: 'value' },
|
||||
destination: { node_id: METADATA_ACCUMULATOR, field: 'seed' },
|
||||
});
|
||||
}
|
||||
@ -198,7 +198,7 @@ export const addDynamicPromptsToGraph = (
|
||||
|
||||
// Connect random int to the start of the range of size so the range starts on the random first seed
|
||||
graph.edges.push({
|
||||
source: { node_id: RANDOM_INT, field: 'a' },
|
||||
source: { node_id: RANDOM_INT, field: 'value' },
|
||||
destination: { node_id: RANGE_OF_SIZE, field: 'start' },
|
||||
});
|
||||
} else {
|
||||
|
@ -504,7 +504,7 @@ export const buildCanvasInpaintGraph = (
|
||||
|
||||
// Connect random int to the start of the range of size so the range starts on the random first seed
|
||||
graph.edges.push({
|
||||
source: { node_id: RANDOM_INT, field: 'a' },
|
||||
source: { node_id: RANDOM_INT, field: 'value' },
|
||||
destination: { node_id: RANGE_OF_SIZE, field: 'start' },
|
||||
});
|
||||
} else {
|
||||
|
@ -845,7 +845,7 @@ export const buildCanvasOutpaintGraph = (
|
||||
|
||||
// Connect random int to the start of the range of size so the range starts on the random first seed
|
||||
graph.edges.push({
|
||||
source: { node_id: RANDOM_INT, field: 'a' },
|
||||
source: { node_id: RANDOM_INT, field: 'value' },
|
||||
destination: { node_id: RANGE_OF_SIZE, field: 'start' },
|
||||
});
|
||||
} else {
|
||||
|
@ -518,7 +518,7 @@ export const buildCanvasSDXLInpaintGraph = (
|
||||
|
||||
// Connect random int to the start of the range of size so the range starts on the random first seed
|
||||
graph.edges.push({
|
||||
source: { node_id: RANDOM_INT, field: 'a' },
|
||||
source: { node_id: RANDOM_INT, field: 'value' },
|
||||
destination: { node_id: RANGE_OF_SIZE, field: 'start' },
|
||||
});
|
||||
} else {
|
||||
|
@ -860,7 +860,7 @@ export const buildCanvasSDXLOutpaintGraph = (
|
||||
|
||||
// Connect random int to the start of the range of size so the range starts on the random first seed
|
||||
graph.edges.push({
|
||||
source: { node_id: RANDOM_INT, field: 'a' },
|
||||
source: { node_id: RANDOM_INT, field: 'value' },
|
||||
destination: { node_id: RANGE_OF_SIZE, field: 'start' },
|
||||
});
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user