command to return constraint components (c-size, c-density, c-hierarchy)

I would like to work with the three components (c-size, c-density, c-hierarchy) making up Burt’s constraint (see Burt 2008).

I posted a corresponding question over at stackoverflow, but am sure that this may be an interesting (and probably easy to implement) feature for igraph development.

The constraint command produces the overall summary constraint score, made up of the c-size, c-density, and c-hierarchy components. Is there a way to modify the constraint command’s code to also return these three components? I would much prefer this solution to a completely new calculation.

Thank you and kind regards,