@ghchinoy/litflow 0.4.0 → 0.5.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.
- package/CHANGELOG.md +20 -20
- package/dist/index.d.ts +1 -0
- package/dist/lit-flow.d.ts +9 -1
- package/dist/lit-node-toolbar.d.ts +5 -0
- package/dist/lit-node.d.ts +4 -0
- package/dist/litflow.js +3281 -3080
- package/dist/litflow.js.map +1 -1
- package/package.json +5 -1
- package/src/index.ts +1 -0
- package/src/lit-flow.ts +323 -49
- package/src/lit-node-toolbar.ts +38 -0
- package/src/lit-node.ts +40 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,18 +3,12 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
5
|
## 2025-12-26
|
|
6
|
-
- Implement M3-styled Controls component (litflow-qwm)
|
|
7
|
-
- Style lit-handle with Material 3 (litflow-rip)
|
|
8
|
-
- Style lit-node with Material 3 (litflow-clx)
|
|
9
|
-
- Example: Static Documentation Display (litflow-l52)
|
|
10
6
|
- Packaging and Distribution (litflow-b9b)
|
|
11
7
|
- Implement manual edge connections (litflow-ycn)
|
|
12
|
-
- Establish Material 3 Design System (litflow-m7y)
|
|
13
8
|
- Investigate and fix node jumping on subsequent drags (litflow-v7y)
|
|
14
9
|
- Example: Custom Nodes with Lit templates (litflow-aop)
|
|
15
10
|
- Implement Controls and MiniMap components (litflow-04c)
|
|
16
11
|
- Example: Dynamic Interactivity (Add/Remove) (litflow-4bd)
|
|
17
|
-
- Implement SignalWatcher in lit-node and lit-edge (litflow-lu1)
|
|
18
12
|
- Integrate Lit Signals for state management (litflow-txd)
|
|
19
13
|
- Refactor store.ts to use @lit-labs/signals (litflow-jdv)
|
|
20
14
|
- Migrate from npm to pnpm (litflow-ytd)
|
|
@@ -23,19 +17,8 @@ All notable changes to this project will be documented in this file.
|
|
|
23
17
|
- Setup examples/ directory and base runner (litflow-8oj)
|
|
24
18
|
|
|
25
19
|
## 2025-12-27
|
|
26
|
-
- Implement Advanced FitView (litflow-w6a)
|
|
27
|
-
- Example: Gemini AI Nodes (Prompt & Image) (litflow-ln0)
|
|
28
|
-
- Implement Keyboard Interactivity (litflow-d81)
|
|
29
|
-
- Validate and Debug Marquee Selection reliability (litflow-cc1)
|
|
30
20
|
- Example: Overview (litflow-59h)
|
|
31
|
-
- Implement Marquee Selection (litflow-ucl)
|
|
32
|
-
- Investigate and implement Edge Labels (litflow-3z2)
|
|
33
|
-
- Implement Edge Markers (Arrowheads) (litflow-c56)
|
|
34
|
-
- Configurable Node Naming on Drop (litflow-8ku)
|
|
35
|
-
- Create Drag & Drop Guide (litflow-w6v)
|
|
36
|
-
- Implement M3-styled Sidebar for Drag & Drop (litflow-kyi)
|
|
37
21
|
- Implement project method in LitFlow (litflow-ypx)
|
|
38
|
-
- Investigate and implement Edge Labels (litflow-1ed)
|
|
39
22
|
- Tutorial: Building Static Documentation with LitFlow (litflow-vgd)
|
|
40
23
|
- Project Documentation System (Eleventy + Diataxis + gh-pages) (litflow-46j)
|
|
41
24
|
- Draft Welcome Landing Page (litflow-46j.5)
|
|
@@ -48,15 +31,32 @@ All notable changes to this project will be documented in this file.
|
|
|
48
31
|
- Implement Real LitFlowRunner (litflow-wmj)
|
|
49
32
|
- Implement Mock Runner (litflow-wjn)
|
|
50
33
|
- Implement LitSchemaNode (litflow-ztw)
|
|
51
|
-
- Analysis: Phase 3 - GenAI & Gemini Integration (litflow-9ms)
|
|
52
34
|
- Analysis: Phase 2 - Graph Execution (The Core) (litflow-i81)
|
|
53
35
|
- Designer: Integrate Drag & Drop Palette (litflow-aa8)
|
|
54
36
|
- Example: Inspector Designer with live JSON sync (litflow-0i5)
|
|
55
37
|
|
|
56
38
|
## 2026-01-03
|
|
57
|
-
- Feature:
|
|
39
|
+
- Feature: Dynamic Handle Orientation (litflow-766)
|
|
40
|
+
- Bug: Node movement lag vs Edges (litflow-a3q)
|
|
41
|
+
- Bug: Designer/Resizer UI visibility issues (litflow-e5o)
|
|
42
|
+
- Bug: Auto-Layout Dagre Stacking (litflow-87j)
|
|
43
|
+
- Example: Node Resizer & Toolbar (litflow-p3c)
|
|
44
|
+
- Specialized Layout Engines (litflow-f3m)
|
|
45
|
+
- Example: Organizational Chart (litflow-h83)
|
|
46
|
+
- The Tree Lens (D3-Hierarchy) (litflow-vd7)
|
|
47
|
+
- Advanced Layout & Topology Lenses (litflow-oog)
|
|
48
|
+
- Declarative Focus & Reactive Isolation (litflow-8vm)
|
|
49
|
+
- Smart Auto-Fit & Viewport Stability (litflow-bmb)
|
|
50
|
+
- The Organic Lens (D3-Force) (litflow-njk)
|
|
51
|
+
- Agentic Visual Reveal & Transitions (litflow-4hg)
|
|
52
|
+
- Implement Render-Measure-Reflow Cycle (litflow-t55)
|
|
53
|
+
- Docs: Pragmatic Use Findings (litflow-hf4.6)
|
|
54
|
+
- Epic: Tasker Integration Enhancements (litflow-hf4)
|
|
55
|
+
- Improvement: Define static styles on LitNode (litflow-hf4.7)
|
|
56
|
+
- Docs: "Getting Started" Tutorial (litflow-kev)
|
|
57
|
+
- Example: Subgraph Isolation API (litflow-c5l)
|
|
58
|
+
- Example: Zero-Config Automatic Layout (litflow-8np)
|
|
58
59
|
- Feature: Sub-Graph Focus/Isolate API (litflow-hf4.2)
|
|
59
60
|
- Feature: Built-in Layout Orchestration (litflow-hf4.1)
|
|
60
61
|
- Fix: TypeScript Type Fidelity (litflow-hf4.3)
|
|
61
|
-
- Docs: Pragmatic Use Findings (litflow-hf4.6)
|
|
62
62
|
|
package/dist/index.d.ts
CHANGED
package/dist/lit-flow.d.ts
CHANGED
|
@@ -25,6 +25,12 @@ export declare class LitFlow extends LitFlow_base {
|
|
|
25
25
|
selectionMode: 'pan' | 'select';
|
|
26
26
|
layoutEnabled: boolean;
|
|
27
27
|
layoutPadding: number;
|
|
28
|
+
layoutStrategy: 'hierarchical' | 'organic' | 'tree';
|
|
29
|
+
layoutDirection: 'LR' | 'TB';
|
|
30
|
+
autoFit: boolean;
|
|
31
|
+
focusNode: string | null;
|
|
32
|
+
focusDirection: 'downstream' | 'upstream' | 'both';
|
|
33
|
+
private _isMeasuring;
|
|
28
34
|
private _selectionRect;
|
|
29
35
|
private _selectionStart;
|
|
30
36
|
private _width;
|
|
@@ -55,8 +61,9 @@ export declare class LitFlow extends LitFlow_base {
|
|
|
55
61
|
/**
|
|
56
62
|
* Fits the view to the current nodes.
|
|
57
63
|
* @param padding Optional padding in pixels (default: 50)
|
|
64
|
+
* @param duration Optional animation duration in ms (default: 400)
|
|
58
65
|
*/
|
|
59
|
-
fitView(padding?: number): Promise<void>;
|
|
66
|
+
fitView(padding?: number, duration?: number): Promise<void>;
|
|
60
67
|
/**
|
|
61
68
|
* Isolates a subgraph by hiding all nodes and edges not connected to the specified node.
|
|
62
69
|
* @param nodeId The ID of the node to focus on.
|
|
@@ -78,6 +85,7 @@ export declare class LitFlow extends LitFlow_base {
|
|
|
78
85
|
private _onPointerUp;
|
|
79
86
|
private _performSelection;
|
|
80
87
|
private _onHandlePointerDown;
|
|
88
|
+
private _onNodeResizeStart;
|
|
81
89
|
private _onDragOver;
|
|
82
90
|
private _onDrop;
|
|
83
91
|
private _renderConnectionLine;
|
package/dist/lit-node.d.ts
CHANGED
|
@@ -6,9 +6,13 @@ export declare class LitNode extends LitNode_base {
|
|
|
6
6
|
type: string;
|
|
7
7
|
data: any;
|
|
8
8
|
selected: boolean;
|
|
9
|
+
resizable: boolean;
|
|
10
|
+
orientation: 'vertical' | 'horizontal';
|
|
9
11
|
nodeId: string;
|
|
10
12
|
positionX: number;
|
|
11
13
|
positionY: number;
|
|
14
|
+
willUpdate(changedProperties: Map<string, any>): void;
|
|
12
15
|
render(): import("lit").TemplateResult<1>;
|
|
16
|
+
private _onResizeStart;
|
|
13
17
|
}
|
|
14
18
|
export {};
|