Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
f42a4dd
[feat] Add core Vue widget infrastructure
christian-byrne Jun 24, 2025
2dcfe84
[feat] Add Vue widget registry system
christian-byrne Jun 24, 2025
06d0a63
[feat] Add Vue input widgets
christian-byrne Jun 24, 2025
ac60d1c
[feat] Add Vue selection widgets
christian-byrne Jun 24, 2025
9c4d782
[feat] Add Vue visual widgets
christian-byrne Jun 24, 2025
6e04cb7
[feat] Add Vue action widgets
christian-byrne Jun 24, 2025
19084e2
[feat] TransformPane - Viewport synchronization layer for Vue nodes (…
christian-byrne Aug 6, 2025
9db96f2
Update locales [skip ci]
invalid-email-address Aug 7, 2025
fc6943c
Fix TransformPane pos/size (#4826)
christian-byrne Aug 8, 2025
ac17752
Update locales [skip ci]
invalid-email-address Aug 8, 2025
301355e
refactor(litegraph): decouple render-time state from models for rerou…
benceruleanlu Aug 8, 2025
4171219
Revert "refactor(litegraph): decouple render-time state from models f…
benceruleanlu Aug 8, 2025
2b9a9e2
test(ci): skip transformPerformance suite on CI (#4843)
benceruleanlu Aug 9, 2025
8df41ab
Add vue node feature flag (#4927)
benceruleanlu Aug 12, 2025
c773230
feat: Implement CRDT-based layout system for Vue nodes (#4959)
christian-byrne Aug 17, 2025
889d136
[chore] Extract link rendering out of LGraphCanvas (#4994)
benceruleanlu Aug 18, 2025
0dd4ff2
refactor: Reorganize layout system into new renderer architecture (#5…
christian-byrne Aug 18, 2025
bfcbcf4
[refactor] Reorganize Vue nodes to domain-driven design architecture …
christian-byrne Aug 18, 2025
d1ed5ec
fix: Initialize Vue node manager when first node is added to empty gr…
christian-byrne Aug 19, 2025
b2a828d
[bugfix] Fix Vue node import path after refactoring
christian-byrne Aug 19, 2025
934c650
Remove layout logging noise from console (#5101)
christian-byrne Aug 19, 2025
5a74c01
remove logging from vue node layouting modules (#5111)
christian-byrne Aug 19, 2025
5171dec
feat: Add slot registration and spatial indexing for hit detection
benceruleanlu Aug 20, 2025
ba1fa1b
Revert "feat: Add slot registration and spatial indexing for hit dete…
benceruleanlu Aug 20, 2025
4a7c955
[bugfix] Fix link center dot hit detection when marker is disabled (#…
benceruleanlu Aug 20, 2025
1447b15
[bugfix] Hide center dot when dragging links (#5133)
benceruleanlu Aug 21, 2025
57db10f
feat: v3 style of node body (#5169)
LittleSound Aug 23, 2025
3982f29
Update lockfile after rebase (#5254)
benceruleanlu Aug 30, 2025
0830959
Fix lodash import (#5269)
benceruleanlu Aug 30, 2025
2a5e0d2
Decouple link and slot hit-testing out of Litegraph (#5134)
benceruleanlu Sep 1, 2025
62096d4
chore: Empty commit to trigger CI checks
benceruleanlu Sep 1, 2025
da042ae
[refactor] Remove unused legacy mutation types from layout system (#5…
christian-byrne Sep 1, 2025
3ce3b67
feat: localization fields (#5318)
LittleSound Sep 3, 2025
c6fc8e6
fix: remove clipping by removing unnecessary css contain (#5327)
simula-r Sep 4, 2025
969c8e6
[bugfix] Remove placeholder IMAGE widget to restore previous function…
benceruleanlu Sep 4, 2025
f83801e
- Convert class-based LayoutMutations to useLayoutMutations() composa…
christian-byrne Sep 4, 2025
1dbbf20
feat: widget styles for V3 UI (#5320)
LittleSound Sep 4, 2025
32cffa6
refactor: v3 ui slots connection dots (#5316)
LittleSound Sep 4, 2025
8a10387
add explicit typing on component IDs (#5352)
christian-byrne Sep 4, 2025
c30f5a4
Remove IMAGE widget cont. (#5355)
benceruleanlu Sep 4, 2025
6a3c075
Removes node's dependency on LGraph for access to layout mutations co…
christian-byrne Sep 4, 2025
2a64f53
Merge remote-tracking branch 'origin/main' into vue-nodes-migration
benceruleanlu Sep 4, 2025
f99c9de
[fix] Disable link markers on dragged connections (#5358)
benceruleanlu Sep 4, 2025
1480dd7
[bugfix] Fix NodeHeader test workflow path (#5359)
benceruleanlu Sep 4, 2025
2425f65
[Vue Nodes] Fix Node Header Tests (#5360)
benceruleanlu Sep 4, 2025
0f5315f
Update test expectations [skip ci]
invalid-email-address Sep 4, 2025
7b7f9bb
remove crdt ADR (moved to separate PR)
christian-byrne Sep 5, 2025
7130794
update adr README
christian-byrne Sep 5, 2025
73a1fee
removed unused IMAGE widget enum value
christian-byrne Sep 5, 2025
b0f2a1d
remove all unused (knip pass)
christian-byrne Sep 5, 2025
2f512b8
remove debug overlay panel
christian-byrne Sep 5, 2025
4fc8984
simplify unit tests
christian-byrne Sep 5, 2025
7149af6
change name "transformPaneEnabled" => "isVueNodesEnabled"
christian-byrne Sep 5, 2025
0b94158
remove debug viewport visualizer
christian-byrne Sep 5, 2025
3e5effe
remove debug viewport visualizer prop
christian-byrne Sep 5, 2025
9ab075f
remove outdated README
christian-byrne Sep 5, 2025
1e30756
skip all vue node operations if feature is turned off
christian-byrne Sep 5, 2025
e8dae57
remove debug logging and setting
christian-byrne Sep 5, 2025
f6051f6
remove event forwarding hack. todo: add link moving in vue
christian-byrne Sep 5, 2025
df36693
cleanup comments
christian-byrne Sep 5, 2025
358d98e
cleanup comments
christian-byrne Sep 5, 2025
b7fd1f4
add missing translations
christian-byrne Sep 5, 2025
0aed837
use camelCase for all non-component files
christian-byrne Sep 5, 2025
7d8bdcb
remove debug viewport test
christian-byrne Sep 5, 2025
6eeba70
- Fix memory leaks in node deletion (#5345)
christian-byrne Sep 5, 2025
817f4d0
remove redundant comment
christian-byrne Sep 5, 2025
07b7ed9
use camelcase for layoutStore filename
christian-byrne Sep 5, 2025
85fa2f4
removed unused type guards
christian-byrne Sep 5, 2025
8e098fc
simplify widget registration
christian-byrne Sep 5, 2025
896e44f
move back test that was mistakenly moved
christian-byrne Sep 5, 2025
f6ae1b6
remove unused typeguards
christian-byrne Sep 5, 2025
c52c798
removed unused node def type guards
christian-byrne Sep 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
use camelCase for all non-component files
  • Loading branch information
christian-byrne committed Sep 5, 2025
commit 0aed837ff486a0a50bee0178a01c9586ba86a046
2 changes: 1 addition & 1 deletion src/components/graph/GraphCanvas.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ import { useWorkflowPersistence } from '@/composables/useWorkflowPersistence'
import { CORE_SETTINGS } from '@/constants/coreSettings'
import { i18n, t } from '@/i18n'
import type { LGraphCanvas, LGraphNode } from '@/lib/litegraph/src/litegraph'
import { useLayoutMutations } from '@/renderer/core/layout/operations/LayoutMutations'
import { useLayoutMutations } from '@/renderer/core/layout/operations/layoutMutations'
import { layoutStore } from '@/renderer/core/layout/store/LayoutStore'
import { useLayoutSync } from '@/renderer/core/layout/sync/useLayoutSync'
import { useLinkLayoutSync } from '@/renderer/core/layout/sync/useLinkLayoutSync'
Expand Down
2 changes: 1 addition & 1 deletion src/composables/graph/useGraphNodeManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*/
import { nextTick, reactive, readonly } from 'vue'

import { useLayoutMutations } from '@/renderer/core/layout/operations/LayoutMutations'
import { useLayoutMutations } from '@/renderer/core/layout/operations/layoutMutations'
import { LayoutSource } from '@/renderer/core/layout/types'
import type { WidgetValue } from '@/types/simplifiedWidget'
import type { SpatialIndexDebugInfo } from '@/types/spatialIndex'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/litegraph/src/LGraph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
} from '@/lib/litegraph/src/constants'
import type { UUID } from '@/lib/litegraph/src/utils/uuid'
import { createUuidv4, zeroUuid } from '@/lib/litegraph/src/utils/uuid'
import { useLayoutMutations } from '@/renderer/core/layout/operations/LayoutMutations'
import { useLayoutMutations } from '@/renderer/core/layout/operations/layoutMutations'
import { LayoutSource } from '@/renderer/core/layout/types'

import type { DragAndScaleState } from './DragAndScale'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/litegraph/src/LGraphCanvas.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { LinkConnector } from '@/lib/litegraph/src/canvas/LinkConnector'
import {
type LinkRenderContext,
LitegraphLinkAdapter
} from '@/renderer/core/canvas/litegraph/LitegraphLinkAdapter'
} from '@/renderer/core/canvas/litegraph/litegraphLinkAdapter'
import { layoutStore } from '@/renderer/core/layout/store/LayoutStore'

import { CanvasPointer } from './CanvasPointer'
Expand Down
4 changes: 2 additions & 2 deletions src/lib/litegraph/src/LGraphNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
calculateInputSlotPos,
calculateInputSlotPosFromSlot,
calculateOutputSlotPos
} from '@/renderer/core/canvas/litegraph/SlotCalculations'
import { useLayoutMutations } from '@/renderer/core/layout/operations/LayoutMutations'
} from '@/renderer/core/canvas/litegraph/slotCalculations'
import { useLayoutMutations } from '@/renderer/core/layout/operations/layoutMutations'
import { LayoutSource } from '@/renderer/core/layout/types'

import type { DragAndScale } from './DragAndScale'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/litegraph/src/LLink.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {
SUBGRAPH_INPUT_ID,
SUBGRAPH_OUTPUT_ID
} from '@/lib/litegraph/src/constants'
import { useLayoutMutations } from '@/renderer/core/layout/operations/LayoutMutations'
import { useLayoutMutations } from '@/renderer/core/layout/operations/layoutMutations'
import { LayoutSource } from '@/renderer/core/layout/types'

import type { LGraphNode, NodeId } from './LGraphNode'
Expand Down
2 changes: 1 addition & 1 deletion src/lib/litegraph/src/Reroute.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useLayoutMutations } from '@/renderer/core/layout/operations/LayoutMutations'
import { useLayoutMutations } from '@/renderer/core/layout/operations/layoutMutations'
import { LayoutSource } from '@/renderer/core/layout/types'

import { LGraphBadge } from './LGraphBadge'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import {
LinkMarkerShape,
LinkRenderType
} from '@/lib/litegraph/src/types/globalEnums'
import { getSlotPosition } from '@/renderer/core/canvas/litegraph/slotCalculations'
import {
type ArrowShape,
CanvasPathRenderer,
Expand All @@ -31,8 +32,7 @@ import {
type RenderContext as PathRenderContext,
type Point,
type RenderMode
} from '@/renderer/core/canvas/PathRenderer'
import { getSlotPosition } from '@/renderer/core/canvas/litegraph/SlotCalculations'
} from '@/renderer/core/canvas/pathRenderer'
import { layoutStore } from '@/renderer/core/layout/store/LayoutStore'
import type { Bounds } from '@/renderer/core/layout/types'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import type {
} from '@/lib/litegraph/src/interfaces'
import { LiteGraph } from '@/lib/litegraph/src/litegraph'
import { isWidgetInputSlot } from '@/lib/litegraph/src/node/slotUtils'
import { getSlotKey } from '@/renderer/core/layout/slots/SlotIdentifier'
import { getSlotKey } from '@/renderer/core/layout/slots/slotIdentifier'
import { layoutStore } from '@/renderer/core/layout/store/LayoutStore'

export interface SlotPositionContext {
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/core/layout/slots/register.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ import {
type SlotPositionContext,
calculateInputSlotPos,
calculateOutputSlotPos
} from '@/renderer/core/canvas/litegraph/SlotCalculations'
} from '@/renderer/core/canvas/litegraph/slotCalculations'
import { layoutStore } from '@/renderer/core/layout/store/LayoutStore'
import type { SlotLayout } from '@/renderer/core/layout/types'

import { getSlotKey } from './SlotIdentifier'
import { getSlotKey } from './slotIdentifier'

/**
* Register slot layout with the layout store for hit testing
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/core/layout/slots/useDomSlotRegistration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import { LiteGraph } from '@/lib/litegraph/src/litegraph'
import { layoutStore } from '@/renderer/core/layout/store/LayoutStore'
import type { Point as LayoutPoint } from '@/renderer/core/layout/types'

import { getSlotKey } from './SlotIdentifier'
import { getSlotKey } from './slotIdentifier'

export type TransformState = {
screenToCanvas: (p: LayoutPoint) => LayoutPoint
Expand Down
6 changes: 3 additions & 3 deletions src/renderer/core/layout/sync/useLinkLayoutSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import { LLink } from '@/lib/litegraph/src/LLink'
import { Reroute } from '@/lib/litegraph/src/Reroute'
import type { ReadOnlyPoint } from '@/lib/litegraph/src/interfaces'
import { LinkDirection } from '@/lib/litegraph/src/types/globalEnums'
import { LitegraphLinkAdapter } from '@/renderer/core/canvas/litegraph/LitegraphLinkAdapter'
import type { LinkRenderContext } from '@/renderer/core/canvas/litegraph/LitegraphLinkAdapter'
import { getSlotPosition } from '@/renderer/core/canvas/litegraph/SlotCalculations'
import { LitegraphLinkAdapter } from '@/renderer/core/canvas/litegraph/litegraphLinkAdapter'
import type { LinkRenderContext } from '@/renderer/core/canvas/litegraph/litegraphLinkAdapter'
import { getSlotPosition } from '@/renderer/core/canvas/litegraph/slotCalculations'
import { layoutStore } from '@/renderer/core/layout/store/LayoutStore'
import type { LayoutChange } from '@/renderer/core/layout/types'

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/core/layout/sync/useSlotLayoutSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { onUnmounted } from 'vue'

import type { LGraphCanvas } from '@/lib/litegraph/src/LGraphCanvas'
import { LGraphNode, LiteGraph } from '@/lib/litegraph/src/litegraph'
import { type SlotPositionContext } from '@/renderer/core/canvas/litegraph/SlotCalculations'
import { type SlotPositionContext } from '@/renderer/core/canvas/litegraph/slotCalculations'
import { registerNodeSlots } from '@/renderer/core/layout/slots/register'
import { layoutStore } from '@/renderer/core/layout/store/LayoutStore'

Expand Down
2 changes: 1 addition & 1 deletion src/renderer/extensions/vueNodes/layout/useNodeLayout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
*/
import { computed, inject } from 'vue'

import { useLayoutMutations } from '@/renderer/core/layout/operations/LayoutMutations'
import { useLayoutMutations } from '@/renderer/core/layout/operations/layoutMutations'
import { layoutStore } from '@/renderer/core/layout/store/LayoutStore'
import { LayoutSource, type Point } from '@/renderer/core/layout/types'

Expand Down