Closed dfaofeng closed 5 years ago
https://api.bilibili.com/x/stein/nodeinfo?aid=61094390&node_id=99974&graph_version=5146 只需要aid,node_id(分p的id),graph_version(互动视频的版本?)
其他的参数有些是调整布局和输出格式,有些是控制访问速度避免被B站封掉IP;另外,graphviz 包需要手动定义中文字体,否则输出的pdf无法显示中文,所以 fontname 也是必要的。
graphviz
fontname
大佬.能否直接输出图片呢??pdf文件需要丢到浏览器才能看...
graphviz应该可以输出png和svg
嗯,下个版本增加一个 output_format 参数
output_format
已经更新:加入输出格式(pdf/png/svg)
https://api.bilibili.com/x/stein/nodeinfo?aid=61094390&node_id=99974&graph_version=5146 只需要aid,node_id(分p的id),graph_version(互动视频的版本?)