OWASP / threat-dragon

An open source threat modeling tool from OWASP
https://owasp.org/www-project-threat-dragon/
Apache License 2.0
883 stars 232 forks source link

PDF report sections and ToC #461

Open jgadsden opened 2 years ago

jgadsden commented 2 years ago

Describe what problem your feature request solves It can be difficult to find the diagrams in reports with multiple diagrams

Describe the solution you'd like Provide sections and a Table of Contents for the diagrams in the PDF report

Additional context User feedback "Would be great to have PDF create sections for each diagram. Our models use multiple diagrams (up to 4) and it takes a while to manually find diagrams in a PDF report"

jgadsden commented 1 year ago

The PDF is created from function savePDFReport in desktop/menu.js I can not see how to add sections or linked headers to the output, there seems no suitable options for this Needs someone else to look at this

jgadsden commented 1 month ago

if the diagrams are tagged with Header text, then the pdf report should create a ToC