优化身价功能社交关系图布局与展示策略

This commit is contained in:
liuwei
2026-04-24 17:56:01 +08:00
parent 2ac7704d3b
commit 0636e0453f
2 changed files with 135 additions and 30 deletions

View File

@@ -31,8 +31,12 @@ base_score_scale = 1000
# 排行默认展示数量
default_rank_limit = 10
max_rank_limit = 50
default_graph_nodes = 12
max_graph_nodes = 24
# 社交关系图默认按全量节点绘制:
# 1. 0 表示不截断,尽量展示所有关系节点;
# 2. 用户若显式传人数参数,仍可只看局部;
# 3. max_graph_nodes 保留为兼容字段0 表示不再设置硬上限。
default_graph_nodes = 0
max_graph_nodes = 0
graph_edge_pool_limit = 300
social_graph_template_path = "plugins/value_rank/templates/social_graph.html"
text_auto_revoke_seconds = 80