GraphObject.draw
- GraphObject.draw(nodes=None, edges=None, nodecolor=None, edgecolor=None)[source]
Draw the graph.
- Parameters:
- nodeslist[hashable], optional
A list of node identifiers. Default is None, in which case all nodes are drawn.
- edgeslist[tuple[hashable, hashable]], optional
A list of edge keys (as uv pairs) identifying which edges to draw. The default is None, in which case all edges are drawn.
- nodecolor
compas.colors.Color
| dict[hashable,compas.colors.Color
], optional The color specification for the nodes.
- edgecolor
compas.colors.Color
| dict[tuple[hashable, hashable],compas.colors.Color
], optional The color specification for the edges.
- Returns:
- list[bpy.types.Object]
The objects created in Blender.