refactor(value_rank): 社交关系图改为外部HTML模板渲染
- 新增 social_graph_template_path 配置项,支持独立维护社交图模板路径 - 新增模板文件 plugins/value_rank/templates/social_graph.html,承载关系图样式与占位符 - 移除内嵌模板拼接,改为读取模板文件并进行变量替换后渲染截图
This commit is contained in:
@@ -34,6 +34,7 @@ max_rank_limit = 50
|
||||
default_graph_nodes = 12
|
||||
max_graph_nodes = 24
|
||||
graph_edge_pool_limit = 300
|
||||
social_graph_template_path = "plugins/value_rank/templates/social_graph.html"
|
||||
default_trend_days = 7
|
||||
max_trend_days = 30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user