def compute_form_forcescale(form):
    """Calculate an appropriate scale to the thickness of the forces in the form diagram.

    Parameters
    ----------
    form: :class:`compas_ags.rhino.FormObject`

    Returns
    -------
    scale: float
        Appropriate scale factor to thickness of form diagram lines.
    """
    q = [abs(form.diagram.edge_attribute(uv, 'q')) for uv in form.diagram.edges_where({'is_external': False})]

    scale = 0.1 / max(q)
    return scale