Skip to content

Feat/phase 1 code to architecture#37

Merged
Vrun-design merged 7 commits intomainfrom
feat/phase-1-code-to-architecture
Mar 29, 2026
Merged

Feat/phase 1 code to architecture#37
Vrun-design merged 7 commits intomainfrom
feat/phase-1-code-to-architecture

Conversation

@Vrun-design
Copy link
Copy Markdown
Owner

No description provided.

Vrun-design and others added 7 commits March 28, 2026 15:01
- Move useViewport() out of FlowCanvas into leaf components
  (useFlowCanvasZoomLod, FlowCanvasOverlays) so pan/zoom no longer
  triggers a full re-render of the parent canvas tree at 60fps
- Wrap useFlowCanvasViewState in useMemo so the O(n) node/Map
  computation only runs when nodes, edges, or layers actually change
- Replace per-node inheritSectionState walk with buildSectionStateCache,
  reducing section inheritance from O(n×depth) to O(n) total
- Wrap NodeChrome and CustomEdgeWrapper in React.memo to prevent
  unnecessary re-renders when unrelated state changes
- Memoize resolveStandardEdgeMarkers in CustomEdgeWrapper
- Enable viewport culling unconditionally (was gated on large-graph
  safety mode, so off-screen nodes always rendered below 300 nodes)
- Wrap AI generation setNodes/setEdges in startTransition so large
  diagram loads don't block user input
- Delete shouldEnableViewportCulling (now inlined as true); remove
  stale test case; fix useMemo dep array to avoid eslint-disable

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Reformat hero tagline as aligned code block for visual clarity
- Move demo GIF below Product Hunt badge
- Strengthen star CTA in Contributing section with direct link
- Replace author credit with contributor link and live star count badge

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying openflowkit-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3957ff3
Status: ✅  Deploy successful!
Preview URL: https://bae9dad9.openflowkit-docs.pages.dev
Branch Preview URL: https://feat-phase-1-code-to-archite.openflowkit-docs.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying openflowkit-app with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3957ff3
Status: ✅  Deploy successful!
Preview URL: https://da9081a8.openflowkit-app.pages.dev
Branch Preview URL: https://feat-phase-1-code-to-archite.openflowkit-app.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying openflowkit-www with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3957ff3
Status: ✅  Deploy successful!
Preview URL: https://61ea4b8e.openflowkit-www.pages.dev
Branch Preview URL: https://feat-phase-1-code-to-archite.openflowkit-www.pages.dev

View logs

@Vrun-design Vrun-design merged commit 5995944 into main Mar 29, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant