arc-flow 0.4.0

GPUI node & workflow editor canvas built on arc-flow-core, arc-tokens, arc-motion, and arc-ui.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! arc-flow — 本地设计(Arc 无对应 registry 条目),方案见 `docs/flow/arc-flow-plan.md`。
//!
//! GPUI 节点 / 工作流画布。数据与几何全部来自 `arc-flow-core`,本 crate 只负责
//! 视口交互与绘制;样式取自 `arc-tokens`,动效(F6)走 `arc-motion`。
//!
//! 分层绘制(自下而上):背景点阵 + 边(canvas)→ 边标签(div)→ 节点(div,可放任意控件)
//! → 端口、参考线(canvas,不拦截指针)→ 小地图与控件栏(arc-ui)。

pub mod a11y;
pub mod canvas;
pub mod metrics;
pub mod motion;
pub mod paint;
pub mod renderer;

pub use arc_flow_core as core;
pub use canvas::{ConnectDrag, ContextTarget, FlowCanvas};
pub use renderer::{DefaultNodeRenderer, NodeRenderCtx, NodeRenderer};