Again, this is not possible to say if you will not show us what you are
doing. I don't even know what function you are calling. Is it
graph_draw() or NestedBlockState.draw() [guessing from the figure you sent]?
The problem could be anywhere from a typo in your code to a bug in the
library, and it's impossible to say without context. Please try to
understand this.
But if the question is simply: "Does graph-tool add random colors and
ignores my input per design?", then the answer is no. It's just hard to
see how this question is useful to you.
Best,
Tiago