agentleFS
Comfy-OrgComfy-Org/comfy-claude-prompt-library/.claude/knowledge/node-editor-performance-optimizations/CLAUDE.md

comfy-claude-prompt-library / node-editor-performance-optimizations

CLAUDE.md151 starsChanged 15 months agoMITView on GitHub

The file

We found no rules to list in this file: it reads as prose or reference rather than instructions.

Files
CLAUDE.md

Node Editor Performance Optimizations Research

Overview

Deep analysis of CSS transform usage and rendering performance strategies across modern graph/canvas libraries.

Files

vue-flow-transform-analysis.md

reactflow-transform-analysis.md

  • Library: React Flow (https://github.com/xyflow/xyflow)
  • Research: Examined Viewport/index.tsx, array-based transforms, portal rendering
  • Key Finding: Similar to Vue Flow but with React-specific optimizations

tldraw-transform-analysis.md

  • Library: tldraw (https://github.com/tldraw/tldraw)
  • Research: Studied Mat.ts matrix class, individual shape transforms, LOD system
  • Key Finding: Individual shape transforms with sophisticated matrix math

retejs-transform-analysis.md

  • Library: Rete.js (https://github.com/retejs/rete)
  • Research: Analyzed plugin architecture, area-plugin transforms, dual transform system
  • Key Finding: Framework-agnostic via plugins, dual transform pattern

d3-in-node-editors.md

  • Library: D3.js zoom behavior analysis
  • Research: How Vue Flow and React Flow integrate d3-zoom for viewport management
  • Key Finding: Both use d3's transform interpolation and event handling

flow-libraries-comparison.md

  • Summary: Comprehensive feature comparison matrix
  • Categories: Transform patterns, GPU hints, edge rendering, event handling, performance optimizations

Research Method

Each analysis involved:

  1. Cloning the repository
  2. Searching for transform/performance patterns
  3. Reading core implementation files
  4. Creating architecture diagrams
  5. Identifying optimization opportunities
  6. Second-pass analysis for missed details

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.