Module: consts

Members

(inner, constant) ACCEPT_COLOR :string

color of machine input when accepted
Type:
  • string
Source:

(inner, constant) ARROW_LENGTH :int

[px] length of the edge arrow
Type:
  • int
Source:

(inner, constant) ARROW_SYMBOL :string

arrow symbol
Type:
  • string
Source:

(inner, constant) ARROW_WIDTH :int

[px] total width of the edge arrow
Type:
  • int
Source:

(inner, constant) CLICK_HOLD_TIME :float

[ms] the maximum time between mousedown and mouseup still considered as click
Type:
  • float
Source:

(inner, constant) CLOSE :string

closing parentheses for regular expressions
Type:
  • string
Source:

(inner, constant) CONCAT :string

concatenation of symbols for regular expressions
Type:
  • string
Source:

(inner, constant) DEFAULT_MACHINE :string

choice from ['NFA', 'PDA', 'Turing', 'Regex']
Type:
  • string
Source:

(inner, constant) DEFAULT_MEALY_OUTPUT :string

prepopulate mealy output with this
Type:
  • string
Source:

(inner, constant) DEFAULT_MOORE_MEALY_TRANSITION :string

prepopulate transitions for Moore / Mealy machines with this
Type:
  • string
Source:

(inner, constant) DEFAULT_MOORE_OUTPUT :string

prepopulate moore output with this
Type:
  • string
Source:

(inner, constant) DEFAULT_VERTEX_RADIUS :int

[px] initial vertex radius
Type:
  • int
Source:

(inner, constant) DEFAULT_VIZ_SIZE :int

[px] default text size for things like input visualization
Type:
  • int
Source:

(inner, constant) DOUBLE_PRESS_TIME :float

[ms] the maximum time between key presses considered as a double press
Type:
  • float
Source:

(inner, constant) DRAW_ARROW_RADIUS :int

delimiter for edges in a permalink
Type:
  • int
Source:

(inner, constant) EDGE_CURVATURE :float

bigger number means edge follows text more closely
Type:
  • float
Source:

(inner, constant) EDGE_DELIM :string

delimiter for edges in a permalink
Type:
  • string
Source:

(inner, constant) EDGE_TEXT_SACALING :float

a fraction of vertex radius to as the transition text size
Type:
  • float
Source:

(inner, constant) EMPTY_FUNCTION :function

place holder function
Type:
  • function
Source:

(inner, constant) EMPTY_SET :string

empty set symbol for regular expressions
Type:
  • string
Source:

(inner, constant) EMPTY_SYMBOL :string

no operation stack symbol
Type:
  • string
Source:

(inner, constant) EMPTY_TYPE :string

symbol for an empty cell of a Turing Machine
Type:
  • string
Source:

(inner, constant) FIELD_DELIM :string

delimiter for fields in a permalink
Type:
  • string
Source:

(inner, constant) FINAL_CIRCLE_SIZE :float

fraction of the radius of the outer circle
Type:
  • float
Source:

(inner, constant) HIGH_LIGHTED_VERTEX_COLOR :string

color of the highlighted vertex
Type:
  • string
Source:

(inner, constant) HIST_KEYS :Object

localstore key to the history stack
Type:
  • Object
Source:

(inner, constant) HIST_PTR_KEYS :Object

localstore key to pointer to the currently displayed graph
Type:
  • Object
Source:

(inner, constant) HIST_TIP_KEYS :Object

localstore key to pointer to the top of the history stack
Type:
  • Object
Source:

(inner, constant) INPUT_VIZ_HEIGHT_R :float

a real between 0 and 1 controlling vertical position of input viz
Type:
  • float
Source:

(inner, constant) INPUT_VIZ_WIDTH_R :float

a real between 0 and 1 controlling horizontal position of input viz
Type:
  • float
Source:

(inner, constant) KLEENE :string

kleene star for regular expressions
Type:
  • string
Source:

(inner, constant) LEFT :string

symbol for move tape left
Type:
  • string
Source:

(inner, constant) LEFT_BTN :int

left mouse buttons
Type:
  • int
Source:

(inner, constant) LEGAL_CHARS :string

a string consisting of all url-legal characters
Type:
  • string
Source:

(inner, constant) MACHINE_TYPES :Object

a list of names for each machine mainly for iterations
Type:
  • Object
Source:

(inner, constant) MID_BTN :int

mouse buttons
Type:
  • int
Source:

(inner, constant) OPEN :string

opening parentheses for regular expressions
Type:
  • string
Source:

(inner, constant) PIXEL_PER_SIZE_1_LETTER :float

pixel per letter for font size 1 text. approximate
Type:
  • float
Source:

(inner, constant) PLUS :string

plus symbol (one or more) for regular expressions
Type:
  • string
Source:

(inner, constant) READ_INPUT_COLOR :string

color assigned to input string that has already been processed
Type:
  • string
Source:

(inner, constant) READ_INPUT_COLOR :string

color assigned to input string that is about to be processed
Type:
  • string
Source:

(inner, constant) READ_INPUT_COLOR :string

color assigned to input string that is yet to be processed
Type:
  • string
Source:

(inner, constant) REJECT_COLOR :string

color of machine input when rejected
Type:
  • string
Source:

(inner, constant) RIGHT :string

symbol for move tape right
Type:
  • string
Source:

(inner, constant) RIGHT_BTN :int

mouse buttons
Type:
  • int
Source:

(inner, constant) SECOND_BAR_COLOR :string

color of second bar, specifically homepage
Type:
  • string
Source:

(inner, constant) SIGMA :string

alphabet symbol for regular expressions
Type:
  • string
Source:

(inner, constant) START_TRIANGLE_SCALE :float

wrt vertex radius
Type:
  • float
Source:

(inner, constant) TEXT_SIZING_CONSTS :Object

a list of function params to correctly size texts
Type:
  • Object
Source:

(inner, constant) TRAP_STATE :string

name of the trap state for a DFA
Type:
  • string
Source:

(inner, constant) UNION :string

union of sets for regular expressions
Type:
  • string
Source:

(inner, constant) VERTEX_DELIM :string

delimiter for vertices in a permalink
Type:
  • string
Source:

(inner, constant) ZOOM_SPEED :float

final zoom is ZOOM_SPEED*scroll_wheel_ticks
Type:
  • float
Source: