Userscript Interface Primitives

left_nav_width

number

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

right_nav_width

number

The width in pixels of the right navigation bar.

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

label_settings.vertex_size

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

label_settings.show_removed_instances

bool
Show soft deleted instances.

video_mode

bool
If a video file is the current file.


Did this page help you?