mirror of
https://gitee.com/blossom-editor/blossom.git
synced 2025-12-06 16:58:26 +08:00
fix: 控制双链图表节点 max symbolSize
This commit is contained in:
parent
e72031ea0e
commit
525cdaa42b
@ -154,6 +154,9 @@ const ascending = 1
|
||||
const getLinkCount = (name: string, links: any[]): number => {
|
||||
let count: number = 20
|
||||
for (let i = 0; i < links.length; i++) {
|
||||
if (count >= 100) {
|
||||
break
|
||||
}
|
||||
let link = links[i]
|
||||
if (link.source == name) {
|
||||
count += ascending
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user