GraphObject.draw_edgelabels
- GraphObject.draw_edgelabels(text, color=None, group=None, fontheight=10, fontface='Arial Regular')[source]
Draw labels for a selection of edges.
- Parameters:
- textdict[tuple[int, int], str]
A dictionary of edge labels as edge-text pairs.
- color
compas.colors.Color
| dict[tuple[int, int],compas.colors.Color
], optional Color of the labels.
- groupstr, optional
The name of a group to add the labels to.
- fontheightfloat, optional
Font height of the labels.
- fontfacestr, optional
Font face of the labels.
- Returns:
- list[System.Guid]
The GUIDs of the created Rhino text objects.