WireViz icon indicating copy to clipboard operation
WireViz copied to clipboard

Add a way to add a title to the images

Open DeflateAwning opened this issue 8 months ago • 3 comments

Either a titleblock or a top-of-page title would be good.

If this does exist, it should be added to more examples.

DeflateAwning avatar Apr 26 '25 20:04 DeflateAwning

Power supplies.pdf

You can use the template function for that? The title block only shows up in the .html file, but you could export that to a pdf and have the titleblock integrated.

metadata: &metadata 
  title: Power supplies
  pn: PSU

  authors:
    Created:
      name: xxx
      date: 2025-03-11
    Approved:
      name: xxx
      date: 2025-03-11

  revisions:
    A:
      name: xxx
      date: 2025-03-12
      changelog: updates]

  template:
    name: din-6771    
    sheetsize: A4

https://github.com/wireviz/WireViz/tree/master/src/wireviz/templates

Power supplies.pdf

snelweg avatar Apr 27 '25 11:04 snelweg

Awesome, thanks! My request remains that adding a title to PNG exports would be very helpful!

DeflateAwning avatar Apr 28 '25 20:04 DeflateAwning

This issue seems a bit similar to #227 and #428.

kvid avatar Jun 13 '25 21:06 kvid