grapheco/InteractiveGraph

api文档看不太懂,想调整样式都不行

monbious opened this issue · 5 comments

api文档看不太懂,想调整样式都不行

你好,我们更新了文档,你可以查看Theme小节相关文档调整样式。祝愉快。
Hello, we have updated the document. You can check the related document of "theme" section to adjust the style. Have a good time.

Question: API documents are not easy to understand, how to adjust the style?
Answer: Hello, we have updated the document. You can check the related document of "theme" section to adjust the style. Have a good time.

why the color still does not work? I used the "honglou.json" and change the color of node like that:

var app = new igraph.GraphNavigator( document.getElementById("graphArea"), { group: { useSeqColors: false, custom: { person: { color: "yellow" }, location: { color: "red" }, event: { color: "blue" }, }, }, } );

why the color still does not work? I used the "honglou.json" and change the color of node like that:

var app = new igraph.GraphNavigator( document.getElementById("graphArea"), { group: { useSeqColors: false, custom: { person: { color: "yellow" }, location: { color: "red" }, event: { color: "blue" }, }, }, } );

Hello, it's "groups", not "group".
Snipaste_2020-09-09_16-12-54

why the color still does not work? I used the "honglou.json" and change the color of node like that:
var app = new igraph.GraphNavigator( document.getElementById("graphArea"), { group: { useSeqColors: false, custom: { person: { color: "yellow" }, location: { color: "red" }, event: { color: "blue" }, }, }, } );

Hello, it's "groups", not "group".
Snipaste_2020-09-09_16-12-54

got it. thank you!