Thanks, Tiago. The issue was the fact that when you added vertices which did not have any clusters associated with them (isolated nodes), there was an error. This behavior should be fixed, if possible.

Sukrit

________________

Sukrit Gupta, 
B.Eng. (CS, PEC, In).

C: 0091 856.680.0668 | W: https://sites.google.com/site/sukritsite


On Fri, Oct 6, 2017 at 6:44 PM, Tiago de Paula Peixoto <tiago@skewed.de> wrote:
On 06.10.2017 11:37, Sukrit Gupta wrote:
> So if I want a vertex to have multiple colors (fractions), what should the
> pv1 look like? Please look at my question description.

I don't know how to make this any clearer. It should contain a value for
each fraction:

   pv[g.vertex(0)] = [.3, .6, .1] # 30% with color 0, 60% with color 1, 10% with color 2

--
Tiago de Paula Peixoto <tiago@skewed.de>


_______________________________________________
graph-tool mailing list
graph-tool@skewed.de
https://lists.skewed.de/mailman/listinfo/graph-tool