Dear Tiago,
Hi! I'm trying to plot the individual hierarchies of a nested SBM, is it possible to inherit the node color and use edge width to represent the number of edges, as in the second image? http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/t496178/mac1.png http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/t496178/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7_2019-08-10_%E4%B8%8B%E5%8D%887.png
Thanks!
Best wishes,
Yingjie
-- Sent from: http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/
Am 10.08.19 um 12:42 schrieb lenarpooo:
Dear Tiago,
Hi! I'm trying to plot the individual hierarchies of a nested SBM, is it possible to inherit the node color and use edge width to represent the number of edges, as in the second image? http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/t496178/mac1.png http://main-discussion-list-for-the-graph-tool-project.982480.n3.nabble.com/file/t496178/%E5%B1%8F%E5%B9%95%E5%BF%AB%E7%85%A7_2019-08-10_%E4%B8%8B%E5%8D%887.png
Yes, it's possible. Take a look at the documentation for graph_draw():
https://graph-tool.skewed.de/static/doc/draw.html#graph_tool.draw.graph_draw
and also for draw_hierarchy():
https://graph-tool.skewed.de/static/doc/draw.html#graph_tool.draw.draw_hiera...
Best, Tiago