project-graph-mcp 2.3.1 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (226) hide show
  1. package/package.json +3 -2
  2. package/src/analysis/analysis-cache.ctx +9 -0
  3. package/src/analysis/analysis-cache.js +1 -1
  4. package/src/analysis/complexity.ctx +6 -0
  5. package/src/analysis/complexity.js +1 -1
  6. package/src/analysis/custom-rules.ctx +14 -0
  7. package/src/analysis/custom-rules.js +1 -1
  8. package/src/analysis/db-analysis.ctx +7 -0
  9. package/src/analysis/db-analysis.js +1 -1
  10. package/src/analysis/dead-code.ctx +6 -0
  11. package/src/analysis/dead-code.js +1 -1
  12. package/src/analysis/full-analysis.ctx +9 -0
  13. package/src/analysis/full-analysis.js +1 -1
  14. package/src/analysis/jsdoc-checker.ctx +10 -0
  15. package/src/analysis/jsdoc-checker.js +1 -1
  16. package/src/analysis/jsdoc-generator.ctx +9 -0
  17. package/src/analysis/jsdoc-generator.js +1 -1
  18. package/src/analysis/large-files.ctx +6 -0
  19. package/src/analysis/large-files.js +1 -1
  20. package/src/analysis/outdated-patterns.ctx +7 -0
  21. package/src/analysis/outdated-patterns.js +1 -1
  22. package/src/analysis/similar-functions.ctx +6 -0
  23. package/src/analysis/similar-functions.js +1 -1
  24. package/src/analysis/test-annotations.ctx +11 -0
  25. package/src/analysis/test-annotations.js +1 -1
  26. package/src/analysis/type-checker.ctx +6 -0
  27. package/src/analysis/type-checker.js +1 -1
  28. package/src/analysis/undocumented.ctx +8 -0
  29. package/src/analysis/undocumented.js +1 -1
  30. package/src/cli/cli-handlers.ctx +7 -0
  31. package/src/cli/cli-handlers.js +1 -1
  32. package/src/cli/cli.ctx +6 -0
  33. package/src/cli/cli.js +1 -1
  34. package/src/compact/ai-context.ctx +6 -0
  35. package/src/compact/ai-context.js +1 -1
  36. package/src/compact/compact-migrate.ctx +8 -0
  37. package/src/compact/compact-migrate.js +1 -1
  38. package/src/compact/compact.ctx +11 -0
  39. package/src/compact/compact.js +1 -1
  40. package/src/compact/compress.ctx +7 -0
  41. package/src/compact/compress.js +1 -1
  42. package/src/compact/ctx-resolver.ctx +2 -0
  43. package/src/compact/ctx-resolver.js +1 -1
  44. package/src/compact/ctx-to-jsdoc.ctx +11 -0
  45. package/src/compact/ctx-to-jsdoc.js +1 -1
  46. package/src/compact/doc-dialect.ctx +11 -0
  47. package/src/compact/doc-dialect.js +2 -2
  48. package/src/compact/expand.ctx +14 -0
  49. package/src/compact/expand.js +1 -1
  50. package/src/compact/framework-references.ctx +7 -0
  51. package/src/compact/framework-references.js +1 -1
  52. package/src/compact/instructions.ctx +6 -0
  53. package/src/compact/instructions.js +1 -1
  54. package/src/compact/jsdoc-builder.ctx +4 -0
  55. package/src/compact/jsdoc-builder.js +1 -1
  56. package/src/compact/mode-config.ctx +8 -0
  57. package/src/compact/mode-config.js +1 -1
  58. package/src/compact/split-declarations.ctx +6 -0
  59. package/src/compact/split-declarations.js +1 -1
  60. package/src/compact/validate-pipeline.ctx +12 -0
  61. package/src/compact/validate-pipeline.js +1 -1
  62. package/src/core/event-bus.ctx +9 -0
  63. package/src/core/event-bus.js +1 -1
  64. package/src/core/file-walker.ctx +1 -0
  65. package/src/core/file-walker.js +1 -1
  66. package/src/core/filters.ctx +12 -0
  67. package/src/core/filters.js +1 -1
  68. package/src/core/graph-builder.ctx +7 -0
  69. package/src/core/graph-builder.js +1 -1
  70. package/src/core/parser.ctx +12 -0
  71. package/src/core/parser.js +1 -1
  72. package/src/core/utils.ctx +1 -0
  73. package/src/core/utils.js +1 -1
  74. package/src/core/workspace.ctx +7 -0
  75. package/src/core/workspace.js +1 -1
  76. package/src/lang/lang-go.ctx +8 -0
  77. package/src/lang/lang-go.js +1 -1
  78. package/src/lang/lang-python.ctx +5 -0
  79. package/src/lang/lang-python.js +1 -1
  80. package/src/lang/lang-sql.ctx +10 -0
  81. package/src/lang/lang-sql.js +1 -1
  82. package/src/lang/lang-typescript.ctx +6 -0
  83. package/src/lang/lang-typescript.js +1 -1
  84. package/src/lang/lang-utils.ctx +5 -0
  85. package/src/lang/lang-utils.js +1 -1
  86. package/src/mcp/mcp-server.ctx +6 -0
  87. package/src/mcp/mcp-server.js +1 -1
  88. package/src/mcp/tool-defs.ctx +2 -0
  89. package/src/mcp/tool-defs.js +1 -1
  90. package/src/mcp/tools.ctx +13 -0
  91. package/src/mcp/tools.js +1 -1
  92. package/src/network/backend-lifecycle.ctx +10 -0
  93. package/src/network/backend-lifecycle.js +1 -1
  94. package/src/network/backend.ctx +5 -0
  95. package/src/network/backend.js +1 -1
  96. package/src/network/local-gateway.ctx +9 -0
  97. package/src/network/local-gateway.js +1 -1
  98. package/src/network/mdns.ctx +6 -0
  99. package/src/network/mdns.js +1 -1
  100. package/src/network/server.ctx +2 -0
  101. package/src/network/server.js +2 -2
  102. package/src/network/web-server.ctx +17 -0
  103. package/src/network/web-server.js +2 -2
  104. package/web/follow-controller.js +94 -25
  105. package/web/panels/dep-graph.js +207 -21
  106. package/project-graph-mcp-2.3.0.tgz +0 -0
  107. package/vendor/symbiote-node/CHANGELOG.md +0 -31
  108. package/vendor/symbiote-node/LICENSE +0 -21
  109. package/vendor/symbiote-node/README.md +0 -206
  110. package/vendor/symbiote-node/canvas/AutoLayout.js +0 -725
  111. package/vendor/symbiote-node/canvas/Breadcrumb/Breadcrumb.css.js +0 -73
  112. package/vendor/symbiote-node/canvas/Breadcrumb/Breadcrumb.js +0 -93
  113. package/vendor/symbiote-node/canvas/Breadcrumb/Breadcrumb.tpl.js +0 -9
  114. package/vendor/symbiote-node/canvas/CanvasConnectionRenderer.js +0 -962
  115. package/vendor/symbiote-node/canvas/ConnectionRenderer.js +0 -1468
  116. package/vendor/symbiote-node/canvas/FlowSimulator.js +0 -323
  117. package/vendor/symbiote-node/canvas/ForceLayout.js +0 -189
  118. package/vendor/symbiote-node/canvas/ForceWorker.js +0 -1325
  119. package/vendor/symbiote-node/canvas/GraphTabs/GraphTabs.css.js +0 -97
  120. package/vendor/symbiote-node/canvas/GraphTabs/GraphTabs.js +0 -176
  121. package/vendor/symbiote-node/canvas/GraphTabs/GraphTabs.tpl.js +0 -12
  122. package/vendor/symbiote-node/canvas/LODManager.js +0 -88
  123. package/vendor/symbiote-node/canvas/Minimap/Minimap.css.js +0 -71
  124. package/vendor/symbiote-node/canvas/Minimap/Minimap.js +0 -207
  125. package/vendor/symbiote-node/canvas/Minimap/Minimap.tpl.js +0 -9
  126. package/vendor/symbiote-node/canvas/NodeCanvas/NodeCanvas.css.js +0 -261
  127. package/vendor/symbiote-node/canvas/NodeCanvas/NodeCanvas.js +0 -1840
  128. package/vendor/symbiote-node/canvas/NodeCanvas/NodeCanvas.tpl.js +0 -22
  129. package/vendor/symbiote-node/canvas/NodeSearch/NodeSearch.css.js +0 -97
  130. package/vendor/symbiote-node/canvas/NodeSearch/NodeSearch.js +0 -132
  131. package/vendor/symbiote-node/canvas/NodeSearch/NodeSearch.tpl.js +0 -21
  132. package/vendor/symbiote-node/canvas/NodeViewManager.js +0 -584
  133. package/vendor/symbiote-node/canvas/PinExpansion.js +0 -131
  134. package/vendor/symbiote-node/canvas/PseudoConnection.js +0 -80
  135. package/vendor/symbiote-node/canvas/SubgraphManager.js +0 -201
  136. package/vendor/symbiote-node/canvas/SubgraphRouter.js +0 -443
  137. package/vendor/symbiote-node/canvas/ViewportActions.js +0 -446
  138. package/vendor/symbiote-node/core/Connection.js +0 -45
  139. package/vendor/symbiote-node/core/Editor.js +0 -451
  140. package/vendor/symbiote-node/core/Frame.js +0 -31
  141. package/vendor/symbiote-node/core/GraphMermaid.js +0 -348
  142. package/vendor/symbiote-node/core/GraphText.js +0 -210
  143. package/vendor/symbiote-node/core/Node.js +0 -143
  144. package/vendor/symbiote-node/core/Portal.js +0 -104
  145. package/vendor/symbiote-node/core/Socket.js +0 -185
  146. package/vendor/symbiote-node/core/SubgraphNode.js +0 -125
  147. package/vendor/symbiote-node/index.js +0 -103
  148. package/vendor/symbiote-node/inspector/InspectorPanel/InspectorPanel.css.js +0 -361
  149. package/vendor/symbiote-node/inspector/InspectorPanel/InspectorPanel.js +0 -332
  150. package/vendor/symbiote-node/inspector/InspectorPanel/InspectorPanel.tpl.js +0 -96
  151. package/vendor/symbiote-node/inspector/TemplatePreview/TemplatePreview.css.js +0 -104
  152. package/vendor/symbiote-node/inspector/TemplatePreview/TemplatePreview.js +0 -133
  153. package/vendor/symbiote-node/inspector/TemplatePreview/TemplatePreview.tpl.js +0 -33
  154. package/vendor/symbiote-node/interactions/ConnectFlow.js +0 -307
  155. package/vendor/symbiote-node/interactions/Drag.js +0 -102
  156. package/vendor/symbiote-node/interactions/Selector.js +0 -132
  157. package/vendor/symbiote-node/interactions/SnapGrid.js +0 -65
  158. package/vendor/symbiote-node/interactions/Zoom.js +0 -140
  159. package/vendor/symbiote-node/layout/ActionZone/ActionZone.css.js +0 -88
  160. package/vendor/symbiote-node/layout/ActionZone/ActionZone.js +0 -254
  161. package/vendor/symbiote-node/layout/ActionZone/ActionZone.tpl.js +0 -11
  162. package/vendor/symbiote-node/layout/Layout/Layout.css.js +0 -88
  163. package/vendor/symbiote-node/layout/Layout/Layout.js +0 -622
  164. package/vendor/symbiote-node/layout/Layout/Layout.tpl.js +0 -25
  165. package/vendor/symbiote-node/layout/LayoutNode/LayoutNode.css.js +0 -293
  166. package/vendor/symbiote-node/layout/LayoutNode/LayoutNode.js +0 -467
  167. package/vendor/symbiote-node/layout/LayoutNode/LayoutNode.tpl.js +0 -33
  168. package/vendor/symbiote-node/layout/LayoutPreview/LayoutPreview.css.js +0 -46
  169. package/vendor/symbiote-node/layout/LayoutPreview/LayoutPreview.js +0 -102
  170. package/vendor/symbiote-node/layout/LayoutPreview/LayoutPreview.tpl.js +0 -6
  171. package/vendor/symbiote-node/layout/LayoutRouter/LayoutRouter.js +0 -156
  172. package/vendor/symbiote-node/layout/LayoutRouter/routerSync.js +0 -250
  173. package/vendor/symbiote-node/layout/LayoutSidebar/LayoutSidebar.css.js +0 -379
  174. package/vendor/symbiote-node/layout/LayoutSidebar/LayoutSidebar.js +0 -263
  175. package/vendor/symbiote-node/layout/LayoutSidebar/LayoutSidebar.tpl.js +0 -20
  176. package/vendor/symbiote-node/layout/LayoutSidebar/SidebarSection.js +0 -183
  177. package/vendor/symbiote-node/layout/LayoutTree.js +0 -246
  178. package/vendor/symbiote-node/layout/PanelMenu/PanelMenu.css.js +0 -43
  179. package/vendor/symbiote-node/layout/PanelMenu/PanelMenu.js +0 -89
  180. package/vendor/symbiote-node/layout/PanelMenu/PanelMenu.tpl.js +0 -14
  181. package/vendor/symbiote-node/layout/index.js +0 -16
  182. package/vendor/symbiote-node/menu/ContextMenu/ContextMenu.css.js +0 -61
  183. package/vendor/symbiote-node/menu/ContextMenu/ContextMenu.js +0 -79
  184. package/vendor/symbiote-node/menu/ContextMenu/ContextMenu.tpl.js +0 -19
  185. package/vendor/symbiote-node/node/CtrlItem/CtrlItem.css.js +0 -41
  186. package/vendor/symbiote-node/node/CtrlItem/CtrlItem.js +0 -24
  187. package/vendor/symbiote-node/node/CtrlItem/CtrlItem.tpl.js +0 -16
  188. package/vendor/symbiote-node/node/GraphFrame/GraphFrame.css.js +0 -65
  189. package/vendor/symbiote-node/node/GraphFrame/GraphFrame.js +0 -29
  190. package/vendor/symbiote-node/node/GraphFrame/GraphFrame.tpl.js +0 -13
  191. package/vendor/symbiote-node/node/GraphNode/GraphNode.css.js +0 -683
  192. package/vendor/symbiote-node/node/GraphNode/GraphNode.js +0 -92
  193. package/vendor/symbiote-node/node/GraphNode/GraphNode.tpl.js +0 -17
  194. package/vendor/symbiote-node/node/NodeSocket/NodeSocket.js +0 -25
  195. package/vendor/symbiote-node/node/NodeSocket/NodeSocket.tpl.js +0 -7
  196. package/vendor/symbiote-node/node/PortItem/PortItem.css.js +0 -90
  197. package/vendor/symbiote-node/node/PortItem/PortItem.js +0 -87
  198. package/vendor/symbiote-node/node/PortItem/PortItem.tpl.js +0 -10
  199. package/vendor/symbiote-node/package.json +0 -59
  200. package/vendor/symbiote-node/palette/PaletteBrowser/PaletteBrowser.css.js +0 -143
  201. package/vendor/symbiote-node/palette/PaletteBrowser/PaletteBrowser.js +0 -131
  202. package/vendor/symbiote-node/palette/PaletteBrowser/PaletteBrowser.tpl.js +0 -16
  203. package/vendor/symbiote-node/plugins/History.js +0 -384
  204. package/vendor/symbiote-node/plugins/Readonly.js +0 -59
  205. package/vendor/symbiote-node/shapes/CircleShape.js +0 -80
  206. package/vendor/symbiote-node/shapes/CommentShape.js +0 -35
  207. package/vendor/symbiote-node/shapes/DiamondShape.js +0 -115
  208. package/vendor/symbiote-node/shapes/NodeShape.js +0 -80
  209. package/vendor/symbiote-node/shapes/PillShape.js +0 -91
  210. package/vendor/symbiote-node/shapes/RectShape.js +0 -72
  211. package/vendor/symbiote-node/shapes/SVGShape.js +0 -494
  212. package/vendor/symbiote-node/shapes/index.js +0 -53
  213. package/vendor/symbiote-node/themes/Palette.js +0 -32
  214. package/vendor/symbiote-node/themes/Skin.js +0 -113
  215. package/vendor/symbiote-node/themes/Theme.js +0 -84
  216. package/vendor/symbiote-node/themes/carbon.js +0 -137
  217. package/vendor/symbiote-node/themes/dark.js +0 -137
  218. package/vendor/symbiote-node/themes/ebook.js +0 -138
  219. package/vendor/symbiote-node/themes/grey.js +0 -137
  220. package/vendor/symbiote-node/themes/light.js +0 -137
  221. package/vendor/symbiote-node/themes/neon.js +0 -138
  222. package/vendor/symbiote-node/themes/pcb.js +0 -273
  223. package/vendor/symbiote-node/themes/synthwave.js +0 -137
  224. package/vendor/symbiote-node/toolbar/QuickToolbar/QuickToolbar.css.js +0 -86
  225. package/vendor/symbiote-node/toolbar/QuickToolbar/QuickToolbar.js +0 -128
  226. package/vendor/symbiote-node/toolbar/QuickToolbar/QuickToolbar.tpl.js +0 -29
@@ -1,80 +0,0 @@
1
- /**
2
- * NodeShape — abstract base class for node geometry
3
- *
4
- * Defines socket placement strategy and outline path for any node shape.
5
- * Each shape determines WHERE sockets appear and at WHAT ANGLE
6
- * connections should exit/enter.
7
- *
8
- * @module symbiote-node/shapes/NodeShape
9
- */
10
-
11
- export class NodeShape {
12
-
13
- /** @type {string} */
14
- name = 'base';
15
-
16
- /**
17
- * Get socket position on the shape outline
18
- * @param {'input'|'output'} side
19
- * @param {number} index - ordinal index of this port
20
- * @param {number} total - total ports on this side
21
- * @param {{ width: number, height: number }} size - node dimensions
22
- * @returns {{ x: number, y: number, angle: number }}
23
- * x, y are relative to node top-left corner
24
- * angle is in degrees: 0 = right, 90 = down, 180 = left, 270 = up
25
- */
26
- getSocketPosition(side, index, total, size) {
27
- throw new Error('getSocketPosition must be implemented');
28
- }
29
-
30
- /**
31
- * Get SVG outline path for the shape
32
- * @param {{ width: number, height: number }} size
33
- * @returns {string} SVG path d attribute
34
- */
35
- getOutlinePath(size) {
36
- return '';
37
- }
38
-
39
- /**
40
- * CSS border-radius value for the shape
41
- * @param {{ width: number, height: number }} size
42
- * @returns {string}
43
- */
44
- getBorderRadius(size) {
45
- return 'var(--sn-node-radius, 10px)';
46
- }
47
-
48
- /**
49
- * Whether this shape uses standard header+body layout
50
- * @returns {boolean}
51
- */
52
- get hasHeader() {
53
- return true;
54
- }
55
-
56
- /**
57
- * Whether this shape supports embedded controls
58
- * @returns {boolean}
59
- */
60
- get hasControls() {
61
- return true;
62
- }
63
-
64
- /**
65
- * CSS clip-path for non-rectangular shapes
66
- * @param {{ width: number, height: number }} size
67
- * @returns {string|null} null = no clip
68
- */
69
- getClipPath(size) {
70
- return null;
71
- }
72
-
73
- /**
74
- * Minimum node dimensions for this shape
75
- * @returns {{ minWidth: number, minHeight: number }}
76
- */
77
- getMinSize() {
78
- return { minWidth: 180, minHeight: 60 };
79
- }
80
- }
@@ -1,91 +0,0 @@
1
- /**
2
- * PillShape — compact horizontal pill node
3
- *
4
- * Small node with rounded ends, label centered, 1 input left, 1 output right.
5
- * No header, no controls. Ideal for simple operations (multiply, add, etc.)
6
- *
7
- * @module symbiote-node/shapes/PillShape
8
- */
9
-
10
- import { NodeShape } from './NodeShape.js';
11
-
12
- export class PillShape extends NodeShape {
13
- name = 'pill';
14
-
15
- getSocketPosition(side, index, total, { width, height }) {
16
- const r = height / 2;
17
- if (total <= 1) {
18
- return {
19
- x: side === 'input' ? 0 : width,
20
- y: height / 2,
21
- angle: side === 'input' ? 180 : 0,
22
- };
23
- }
24
-
25
- // Multiple sockets: distribute along the rounded end
26
- const arcAngle = Math.PI * 0.6; // 108 degrees arc
27
- const startAngle = side === 'input' ? Math.PI - arcAngle / 2 : -arcAngle / 2;
28
- const step = arcAngle / (total - 1);
29
- const a = startAngle + step * index;
30
-
31
- const cx = side === 'input' ? r : width - r;
32
- return {
33
- x: cx + r * Math.cos(a),
34
- y: height / 2 + r * Math.sin(a),
35
- angle: (a * 180) / Math.PI,
36
- };
37
- }
38
-
39
- /**
40
- * Get pin position on a specific side of the pill.
41
- * Left/right follow the rounded semicircle arc.
42
- * Top/bottom follow the flat straight edge.
43
- *
44
- * @param {'top'|'right'|'bottom'|'left'} side
45
- * @param {number} t - position along the side (0..1)
46
- * @param {{ width: number, height: number }} size
47
- * @returns {{ x: number, y: number, angle: number }}
48
- */
49
- getSidePosition(side, t, size) {
50
- const NORMALS = { top: -90, right: 0, bottom: 90, left: 180 };
51
- const MARGIN = 0.2;
52
- const effectiveT = MARGIN + t * (1 - 2 * MARGIN);
53
- const r = size.height / 2;
54
-
55
- if (side === 'top' || side === 'bottom') {
56
- // Flat edge between the two semicircles
57
- const x = r + effectiveT * (size.width - 2 * r);
58
- const y = side === 'top' ? 0 : size.height;
59
- return { x, y, angle: NORMALS[side] };
60
- }
61
-
62
- // Rounded semicircle ends
63
- const arcSpan = Math.PI * 0.8; // 144° arc
64
- const cx = side === 'left' ? r : size.width - r;
65
- const centerAngle = side === 'left' ? Math.PI : 0;
66
- const startAngle = centerAngle - arcSpan / 2;
67
- const a = startAngle + arcSpan * effectiveT;
68
-
69
- return {
70
- x: cx + r * Math.cos(a),
71
- y: size.height / 2 + r * Math.sin(a),
72
- angle: (a * 180) / Math.PI,
73
- };
74
- }
75
-
76
- getBorderRadius({ height }) {
77
- return `${height / 2}px`;
78
- }
79
-
80
- get hasHeader() {
81
- return false;
82
- }
83
-
84
- get hasControls() {
85
- return false;
86
- }
87
-
88
- getMinSize() {
89
- return { minWidth: 100, minHeight: 40 };
90
- }
91
- }
@@ -1,72 +0,0 @@
1
- /**
2
- * RectShape — standard rectangular node card
3
- *
4
- * Sockets arranged vertically on left (inputs) and right (outputs).
5
- * Default shape for most nodes.
6
- *
7
- * @module symbiote-node/shapes/RectShape
8
- */
9
-
10
- import { NodeShape } from './NodeShape.js';
11
-
12
- export class RectShape extends NodeShape {
13
- name = 'rect';
14
-
15
- /** @type {number} */
16
- #headerHeight;
17
-
18
- /**
19
- * @param {object} [config]
20
- * @param {number} [config.headerHeight=36] - Height of header area
21
- */
22
- constructor(config = {}) {
23
- super();
24
- this.#headerHeight = config.headerHeight || 36;
25
- }
26
-
27
- getSocketPosition(side, index, total, { width, height }) {
28
- const bodyHeight = height - this.#headerHeight;
29
- const spacing = bodyHeight / (total + 1);
30
- const y = this.#headerHeight + spacing * (index + 1);
31
-
32
- return {
33
- x: side === 'input' ? 0 : width,
34
- y,
35
- angle: side === 'input' ? 180 : 0,
36
- };
37
- }
38
-
39
- /**
40
- * Get pin position on a specific side of the rectangle.
41
- * Required for PCB path style — without this, ConnectionRenderer
42
- * skips rect nodes entirely.
43
- *
44
- * @param {'top'|'right'|'bottom'|'left'} side
45
- * @param {number} t - position along the side (0..1), 0.5 = center
46
- * @param {{ width: number, height: number }} size
47
- * @returns {{ x: number, y: number, angle: number }}
48
- */
49
- getSidePosition(side, t, size) {
50
- const NORMALS = { top: -90, right: 0, bottom: 90, left: 180 };
51
- const MARGIN = 0.2;
52
- const effectiveT = MARGIN + t * (1 - 2 * MARGIN);
53
-
54
- let x, y;
55
- switch (side) {
56
- case 'top': x = size.width * effectiveT; y = 0; break;
57
- case 'right': x = size.width; y = size.height * effectiveT; break;
58
- case 'bottom': x = size.width * effectiveT; y = size.height; break;
59
- case 'left': x = 0; y = size.height * effectiveT; break;
60
- }
61
-
62
- return { x, y, angle: NORMALS[side] };
63
- }
64
-
65
- getBorderRadius() {
66
- return 'var(--sn-node-radius, 10px)';
67
- }
68
-
69
- getMinSize() {
70
- return { minWidth: 180, minHeight: 60 };
71
- }
72
- }