[graph-tool] get_hierarchy_control_points return values

Tiago de Paula Peixoto tiago at skewed.de
Mon Nov 30 13:39:17 CET 2020


Am 25.11.20 um 18:38 schrieb AntoineR:
> Hi,
> I would like to know also how the info are formatted... In my case the
> length of the property is not the same across the edges...

The documentation of graph_draw() for "edge_control_points" says:

Control points of a Bézier spline used to draw the edge. Each spline 
segment requires 6 values corresponding to the (x,y) coordinates of the 
two intermediary control points and the final point.

Bézier splines are defined as such:

https://en.wikipedia.org/wiki/B%C3%A9zier_curve

Best,
Tiago

-- 
Tiago de Paula Peixoto <tiago at skewed.de>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x612DEFB798507F25.asc
Type: application/pgp-keys
Size: 38960 bytes
Desc: not available
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20201130/2c8dc7b4/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.skewed.de/pipermail/graph-tool/attachments/20201130/2c8dc7b4/attachment-0001.sig>


More information about the graph-tool mailing list