Ordering vertex in NestedBlockState.draw()
Hi all, I've been trying to order the vertices on the rim of a NSBM plot such that the labels, say, as integers, of two neighboring vertices are as close as possible. For example, if I have 5 vertices, I'd like them to be ordered 0-1-2-3-4 on the NSBM plot. Is there an easy way to do that? I know that this might have something to do with the 'pos' parameter but I didn't get the expected result after I play with it. Thanks, Tim
On 02.03.2017 00:57, treinz wrote:
Hi all,
I've been trying to order the vertices on the rim of a NSBM plot such that the labels, say, as integers, of two neighboring vertices are as close as possible. For example, if I have 5 vertices, I'd like them to be ordered 0-1-2-3-4 on the NSBM plot. Is there an easy way to do that? I know that this might have something to do with the 'pos' parameter but I didn't get the expected result after I play with it.
This is not directly supported, but it is easy to implement. Please open a new issue at the website requesting the feature, and I will implement it when time permits. -- Tiago de Paula Peixoto <tiago@skewed.de>
participants (2)
-
Tiago de Paula Peixoto -
treinz