use camelCase for all non-component files

This commit is contained in:
bymyself
2025-09-04 19:38:51 -07:00
parent b7fd1f476c
commit 0aed837ff4
17 changed files with 19 additions and 19 deletions

View File

@@ -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,
@@ -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'

View File

@@ -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 {

View File

@@ -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

View File

@@ -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

View File

@@ -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'

View File

@@ -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'

View File

@@ -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'