mitre-attack / mitreattack-python

A python module for working with ATT&CK
https://mitreattack-python.readthedocs.io/
Apache License 2.0
470 stars 108 forks source link

[Request] Allow font size in SVG config #160

Closed SimonDubex closed 8 months ago

SimonDubex commented 11 months ago

Is your feature request related to a problem?

Currently there is no way to control font sizes when using the “to_svg” function. Similar to the issues mention in the attack navigator forum: https://github.com/mitre-attack/attack-navigator/issues/484

Describe the solution you'd like

Add a paramter to the Svg config, which allows you to either use autofill for font size, og manually overwrite it and use a specific font size

Additional context

This feature is already implemented in attack navigator and should therefore also be implemented in the python module.

jondricek commented 11 months ago

Thanks for the suggestion! We'll look at tackling this in the new year sometime.

SimonDubex commented 8 months ago

Hi,

Has this been considered yet? we could really use this feature.

jondricek commented 8 months ago

This was just added in mitreattack-python v3.0.3 a couple hours ago!