Archeometer.Analysis.DSM.ConsoleRender (Archeometer v0.5.0)

Functions to render an Archeometer.Analysis.DSM struct into plain text.

Link to this section Summary

Link to this section Functions

Link to this function

cycles_str(groups, mod_names)

Link to this function

mtx_header(dsm, padding)

Link to this function

mtx_rows(dsm, padding)

Link to this function

render(mtx, mod_names)

Renders a DSM struct into a plain text, suitable for printing in a console.

Returns the string representing the DSM in human readable format.

parameters

Parameters

  • dsm. The DSM to be rendered.
  • mod_names. A map from module ids to their corresponding names.