Layout

The Layout component the DagPane and NodePane components

Methods

created ( ) : void
Update DagPane shape

Returns void

void

mounted ( ) : void
Set DagPane and NodePane widths

Returns void

void

__update_dag_pane_shape ( ) : void
Set width of DagPane

Returns void

void

_get_width ( element : any ) : number
Get width of given DOM element

Parameters
  • element  : any
    DOM element
Returns number

number

_set_width ( element : any , width : number ) : void
Sets width of given element to given width

Parameters
  • element  : any
    DOM element
  • width  : number
    Width in vw (percentage) units
Returns void

void

_on_resize_start ( ) : void
Event handler for when user begins dragging pane divider. Sets _prev_dag_width to DOM element width

Parameters
Returns void

void

_on_resize ( element : any ) : void
Event handler for when the user continues dragging the pane divider. Updates the DagPane and NodePane width.

Parameters
  • element  : any
    Ignored DOM element
Returns void

void

_on_resize_stop ( : ) : void
Event handler for when the user stops dragging the pane divider. Collapses the NodePane if it is beneath threshold

Parameters
  •  :
Returns void

void

Properties

params : void
Scene definition

_prev_dag_width : void
Previous width of the DagPane

__dag_pane_width : void
Current width of the DagPane

__dag_pane_height : void
Current height of the DagPane

dag_width : void
Percentage of window width of the DagPane

collapse_width : void
Percentage of window Width at which NodePane will collapse

Acessors

get _data ( ) : any
Data for NodePane table

Returns any

any

get _index ( ) : object
Index for NodePane table

Returns object

object