Thanks for the quick reply but it didn't worked.

> Le 27 déc. 2015 à 23:55, Tiago de Paula Peixoto <[email protected]> a écrit :
> 
> Alternatively, you may use "ungroup_vector_property()":
> 
>    ecolor = ungroup_vector_property(g.ep["typee"], [1])[0]
>    graphviz_draw(g, ecolor=ecolor)
> 

I got the following error message:

Traceback (most recent call last):
  File "build-graph.py", line 595, in <module>
    ecolor = ungroup_vector_property(g.ep["typee"], [1])[0]
  File "/usr/local/lib/python2.7/site-packages/graph_tool/__init__.py", line 
1035, in ungroup_vector_property
    _check_prop_vector(vprop, name="vprop", scalar=False)
  File "/usr/local/lib/python2.7/site-packages/graph_tool/__init__.py", line 
915, in _check_prop_vector
    (" floating" if floating else "")))
ValueError: property map 'vprop' is not of vector type.


-- 
-------------------------------------------------------
Yannis Haralambous
Professor
Institut Mines-Télécom, Télécom Bretagne
Computer Science Department
UMR CNRS 6285 Lab-STICC
Technopôle Brest Iroise
CS 83818, 29238 Brest Cedex 3, France
Email: [email protected]
Internet: http://perso.telecom-bretagne.eu/yannisharalambous/
ICBM address: 48°21'31.57"N 4°34'16.76"W
Twitter: y_haralambous
-------------------------------------------------------
...the ball I threw while playing in the park
has not yet reached the ground
(Dylan Thomas)

Es gab eine Zeit, wo ich nur ungern über Schubert sprechen,
nur Nächtens den Bäumen und Sternen von ihm vorerzählen mögen.
(Robert Schumann)

_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to