Tweak the railroad js and CSS files
This commit is contained in:
parent
8478b049f0
commit
2c919735c3
2 changed files with 12 additions and 2 deletions
|
@ -23,7 +23,7 @@ export const Options = {
|
|||
VS: 8, // minimum vertical separation between things. For a 3px stroke, must be at least 4
|
||||
AR: 10, // radius of arcs
|
||||
DIAGRAM_CLASS: 'railroad-diagram', // class to put on the root <svg>
|
||||
STROKE_ODD_PIXEL_LENGTH: true, // is the stroke width an odd (1px, 3px, etc) pixel length?
|
||||
STROKE_ODD_PIXEL_LENGTH: false, // is the stroke width an odd (1px, 3px, etc) pixel length?
|
||||
INTERNAL_ALIGNMENT: 'center', // how to align items when they have extra space. left/right/center
|
||||
CHAR_WIDTH: 8.5, // width of each monospace character. play until you find the right value for your font
|
||||
COMMENT_CHAR_WIDTH: 7, // comments are in smaller text by default
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue