-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
feat: add BubbleSets plugin #5653
Conversation
7f8c9e2
to
df336d9
Compare
df336d9
to
5daf0dc
Compare
为啥使用 bubblesets-js 而不是 bubblesets,另外,两个 repo 的 star 数量,下载量都不算高。 |
首先,Bubble Sets 是由 Christopher Collins 提出的一种可视化技术。 bubblesets 库就是 Bubble Sets 的一个 JS 实现,它透出的 API 相对来说比较原生。 bubblesets-js 则是在 bubblesets 库的基础上进行了改造,提供了更友好的 API。目前也是 cytoscape bubblesets 插件的底层实现库,感觉比较可靠。所以就选择了 bubblesets-js |
daef309
to
05a1524
Compare
|
||
type HullLabelStyleProps = LabelStyleProps & { | ||
interface ContourLabelStyleProps extends LabelStyleProps { | ||
/** | ||
* <zh/> 标签位置,可选值为 'top'、'right'、'bottom'、'left'、'center';默认为 'bottom' |
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.
后续统一注释格式
return this.path; | ||
}; | ||
|
||
public addMember(members: ID | ID[]) { |
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.
后续补下注释
新增插件
BubbleSets
,基于社区三方库 bubblesets-js 实现