Hi Tiago and all
Thank you very much for adding this functionality to graph-tool, I could
use this for sure. The only problem is, that since you've sent this email,
I'm trying to recompile the newest version of graph-tool and after lots of
trouble I managed to get it compiled and working, (without sparsehash
unfortunately) (the bigges problems I faced with not enough memory, but
never mind), now I have the working graph-tool 2.16 and stil if I try to
planar_position = graph_tool.draw.planar_layout(Graph_of_the_knot, pos=None)
function it prints:
Traceback (most recent call last):
File "./knot_representations.py", line 1947, in <module>
Crossings_adjacency_matrix = CrossingsAdjacencyMatrix(Nr_of_crossings,
Nr_of_ropes, Starting_points, Rope_path_length, Crossings_chirality,
File "./knot_representations.py", line 1526, in CrossingsAdjacencyMatrix
planar_position = graph_tool.draw.planar_layout(Graph_of_the_knot,
AttributeError: 'module' object has no attribute 'planar_layout'
Am I doing something wrong, or I'm not using the right version?
I've downloaded graph-tool 2.16 from the site.
I would also like to ask something about the sfdp.layout in the draw tool.
Can I set the C parameter,
*C* : float (optional, default: 0.2) Relative strength of repulsive forces.
separately for some vertices? I assume that I can't, because it's not a
property map, but I thought I'll ask.
attachment.html (13.4 KB)