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

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

Link to this section Summary

Functions

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.

parameters

Parameters

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