Viewer.draw_force
- Viewer.draw_force(force=None, show_edges=True, opacity=0.5, **kwargs)[source]
Add the ForceDiagram to the viewer, if no force is given the force diagram is recomputed in place.
- Parameters
force (ForceDiagram, optional) – ForceDiagram to plot, by default
None
show_edges (bool, optional) – Whether or not edges are shown, by default
True
opacity (float, optional) – The opacity of the mesh, by default 0.5
- Returns
None – The Viewer is updated in place.