- Landscape pages use 7 mm side margins (PDF) / 0.7 cm (Word) and
compact headings, so the topology gets about 28 cm of width.
- Portrait pages after a landscape page restore their original margins.
- The topology PNG is cropped to its content, removing the blank border.
Bump version to 0.6.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The topology image was shrunk inside the flex container used for rack
images. Each site's topology now gets a dedicated A4 landscape page
(named @page in PDF, landscape section in Word) with the section and
site headings, scaled to the full usable width or height depending on
its aspect ratio. The document switches back to portrait only when more
content follows, so no blank pages are produced. The TOC includes
headings on landscape pages.
Also fix Word exports without a template using US Letter instead of A4.
Bump version to 0.6.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- New section "Netzwerk-Topologie": one diagram per site built from
NetBox cable paths (traced through patch panels), layered top-down by
cabling (provider > firewall/router > core > access > endpoints),
barycenter ordering, "2x" for parallel links, provider circuits as
clouds and devices outside the scope dashed. Labels: management IP,
model, ports.
- New export format "draw.io": the topology as an editable .drawio file
(one page per site, symbols embedded).
- 14 built-in symbols drawn with Pillow; automatic mapping from role,
model and manufacturer, passive gear (patch panels, PDUs, UPS) hidden.
- New TopologySymbol model (migration 0002) with list/edit/delete UI,
symbol gallery, custom icon upload and a "Topologie-Symbol" button on
device type and device role pages.
Bump version to 0.4.0 - requires "manage.py migrate".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
RackElevationSVG falls back to RACK_ELEVATION_DEFAULT_* config
parameters, which raise AttributeError on the target NetBox version.
Pass the dimensions explicitly instead.
Add a Pillow-based PNG rack renderer (role colors, unit legend,
full-depth devices shown dimmed from the other side). It is used for
Word when cairosvg is unavailable and replaces a failed SVG in all
formats.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Plugin for NetBox 4.6.8–4.6.99 that exports customer documentation
(PDF, Word, HTML preview) for a site, location, tenant or tenant group.
Technicians pick sections, device roles and columns before exporting.
Branding profiles (colors, font, logo, footer, Word template incl. .dotx,
table style, extra CSS) are configurable via PLUGINS_CONFIG and selectable
per export.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>