G6 icon indicating copy to clipboard operation
G6 copied to clipboard

自定义节点文档 extendedNodeName , typeName 和API 中 extendShapeType , shapeType没对上

Open xuoutput opened this issue 3 years ago • 1 comments

Describe the bug

文档中写的是 extendedNodeName, 代码中是 extendShapeType, typeName => shapeType 也是

https://g6.antv.vision/zh/docs/manual/middle/elements/nodes/custom-node image

image image

Your Example Website or App

1

Steps to Reproduce the Bug or Issue

1

Expected behavior

修改下文档

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1] "@antv/g6": "^4.6.18",

Additional context

No response

xuoutput avatar Aug 12 '22 05:08 xuoutput

好的,命名未统一。extendedNodeType 会更合适一些

Yanyan-Wang avatar Aug 19 '22 07:08 Yanyan-Wang

已修复

Yanyan-Wang avatar Dec 08 '22 10:12 Yanyan-Wang