Links to open the diagram and its PDF
viewer_linkCreate links that open an electrical installation document in the uniwire web editor for drawing, rule checks, and PDF/SVG downloads, or link directly to its PDF.
Instructions
Links to a document: viewer_url opens it in the uniwire web editor (drawing, single-line and multi-line, rule findings, PDF and SVG downloads, nothing to install); pdf_url is the PDF drawn by uniwire. On the hosted server the document is kept 30 days so that the short links open it (anyone with a link can open it); elsewhere it travels in the link (after '#') and is stored nowhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | The uniwire document of the electrical installation: a JSON object, or its JSON text, as returned by get_example, apply_patch or normalize (a file path is accepted when the server runs locally). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||