Archeometer.Analysis.DSM.SVGRender (Archeometer v0.3.2)

Functions to render an Archeometer.Analysis.DSM struct into a svg image.

Link to this section Summary


Renders a DSM struct into a svg.

Link to this section Functions

Link to this function

render(dsm, mod_names)

Renders a DSM struct into a svg.

Returns the string representing the generated svg image.

The resulting svg can be written to a file or directly embedded into an HTML.



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