GGEditor icon indicating copy to clipboard operation
GGEditor copied to clipboard

希望可以在ItemPanl面板拖拽进入画布时按照model配置显示自定义的节点样式

Open tigerboxes opened this issue 4 years ago • 5 comments

这个功能解决了什么问题

ItemPanel内的节点元素拖拽进入画布,只展示了一个虚线边框的节点,不支持通过type展示自定义节点内容

你所期望的 API 是怎样的

希望按照model.type传入,展示对应完整的自定义节点(包含label,fill,stroke等样式)

tigerboxes avatar Sep 09 '20 10:09 tigerboxes

有了这个功能该多好啊,我都疯了,这该死的插件,registerNode连个Api文档都没有

blindperson avatar Sep 22 '20 03:09 blindperson

同感,没有API文档,翻看源码感觉像大海捞针

MingChe0102 avatar Nov 05 '20 00:11 MingChe0102

同感,没有API文档,翻看源码感觉像大海捞针

没有开源

martinwithyou avatar Nov 05 '20 02:11 martinwithyou

有了这个功能该多好啊,我都疯了,这该死的插件,registerNode连个Api文档都没有

没有开源

martinwithyou avatar Nov 05 '20 02:11 martinwithyou

这个功能解决了什么问题

ItemPanel内的节点元素拖拽进入画布,只展示了一个虚线边框的节点,不支持通过type展示自定义节点内容

你所期望的 API 是怎样的

希望按照model.type传入,展示对应完整的自定义节点(包含label,fill,stroke等样式)

不好意思, 源码没有开源

martinwithyou avatar Nov 05 '20 02:11 martinwithyou