Userscript Interface Primitives

left_nav_width

number

The width in pixels of the left navigation bar.
diffgram.label_settings.left_nav_width = 450
diffgram.label_settings.left_nav_width = 0

Also affects size of image if auto_size is true

label_settings.show_text

bool
Show any text on canvas.
True Shows
False Hides

Example: diffgram.label_settings.show_text = false

label_settings.show_label_text

bool
Show the 'label' level text.
True Shows
False Hides

label_settings.show_attribute_text

bool
Show the 'attribute' level text.
True Shows
False Hides

label_settings.font_size

number
The font size of text

Note: This is relative, so a larger size will be larger in general, but other factors (eg zoom) will effect final output.
For example on the left
diffgram.label_settings.font_size = 40
On the right
diffgram.label_settings.font_size = 20

1050

label_settings.vertex_size

number
The size of visual and control points. For example for polygon

343

label_settings.show_removed_instances

bool
Show soft deleted instances.

video_mode

bool
If a video file is the current file.