ant-design / ant-design/pro-flow

🧐[问题]自定义可编辑节点

Open
#104 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
353
Forks
36
PR merge metrics
No merged PRs in 30d

Description

### 🧐 问题描述

我希望实现一个可自定义的编辑节点,比如:我定义了几种不同类型的基础节点,然后用户点击画布点击 sidebar 出现的是我定义的几个基础节点,然后可拖拽到画布中,同时这些节点都是可编辑的,并可修改基础节点上自带的一些属性信息。这个我看节点类型 type 只能是 customNode 或者 editorNode 这种二选一吗?

### 💻 示例代码

### 🚑 其他信息

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing how customNode and editorNode types are handled, then trace the sidebar-to-canvas flow described in the issue. Done means users can define several base node types, add them from the sidebar by dragging, and edit their built-in properties on the canvas.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
design, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.