2D-visualisation function
2D-Visualization function for strawberry on MTG
- openalea.strawberry.visu2d.complete_module(g)[source]
Return properties incomplete or complete module
- Algorithm:
- module are complete:
if module are visible and terminated by an Inflorescence (HT) (propertie=True) else module are incomplete (all module terminated by ht or bt) (property=False)
- openalea.strawberry.visu2d.graph_layout(g)[source]
Compute the distance between branch to minimize the overlaping between crowns.
- openalea.strawberry.visu2d.is_visible(g, v)[source]
Returns bolean value if module are visible or not Module are considered as visible when axis contains at least one F
- openalea.strawberry.visu2d.plot2d(g, vids=[], dist=[5, 5, 6, 8, 8, 100], by=[], display=True, complete=False)[source]