-
Notifications
You must be signed in to change notification settings - Fork 1.5k
docs: improve documentation for element/edge configuration #6861
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThis pull request focuses on improving the documentation related to the configuration of elements and edges in the G6 library. It includes updates to various markdown files to enhance clarity and provide examples for better understanding. Changes
|
WalkthroughThis pull request focuses on improving the documentation related to the configuration of elements and edges in the G6 library. It includes updates to various markdown files to enhance clarity and provide examples for better understanding. Changes
🪧 TipsFor further assistance, please describe your question in the comments and @petercat-assistant to start a conversation with me. |
WalkthroughThis pull request focuses on improving the documentation related to the configuration of elements and edges in the G6 library. It includes updates to various markdown files to enhance clarity and provide examples for better understanding. Changes
|
WalkthroughThis pull request focuses on improving the documentation for element and edge configurations in the G6 library. It includes updates to various markdown files, enhancing the descriptions, examples, and style configurations for different edge types such as cubic, cubic-horizontal, cubic-vertical, line, polyline, and quadratic edges. The changes aim to provide clearer guidance and examples for users to better understand and implement these configurations in their projects. Changes
|
WalkthroughThis pull request focuses on improving the documentation for element and edge configurations in the G6 library. It includes updates to various markdown files to enhance clarity and provide examples for better understanding. Changes
|
| ----------------- | ---------------------------------------------------- | ---------------------------------------------------- | -------------------- | | ||
| halo | 边光晕是否显示 | boolean | false | | ||
| haloClass | 边光晕className | string | - | | ||
| haloCursor | 边光晕鼠标移入样式,[配置项](#cursor) | strig | `default` | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a typo in the type definition for haloCursor
. It should be string
instead of strig
. Please correct this to avoid potential issues.
| filter | 边的阴影的滤镜效果 | string | - | | ||
| increasedLineWidthForHitTesting | 边的宽度过小时,可以用来增大交互区域 | string | number | - | | ||
| isBillboard | 3D 场景中生效,始终朝向屏幕,因此线宽不受透视投影影像 | true | boolean | | ||
| lineDash | 虚线边的偏移量 | 0 | number | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lineDash 的描述形容的是 lineDashOffset?
| badgeBackgroundStroke | 边徽标背景描边颜色 | string | - | | ||
| badgeBackgroundStrokeOpacity | 边徽标背景描边透明度 | number | string | 1 | | ||
| badgeBackgroundVisibility | 边徽标背景是否可见 | `visible` | `hidden` | - | | ||
| badgeBackgroundZIndex | 边徽标背景渲染层级 | number | - | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
边属性的默认值可以看下源码实现补一下
improve documentation/element/edge configuration