Show:
Module: _helpers
Parent Module: raska

Gathers all elements being ploted to the canvas and organizes it as a directed graph JSON

Methods

getParentGraphNodeFor
(
  • bElement
)

Defined in src\raska.js:646

Tries to find a parent node compatible with the element passed as parameter

Parameters:

Properties

_positionTypes

Unknown private const static

Defined in src\raska.js:691

The valid position types for a Raskel element

element

_basicElement const

Defined in src\raska.js:625

The element wraped by this node

hasParent

Bool const

Defined in src\raska.js:634

Whether or not this node has a parent element

relative

Number

Defined in src\raska.js:701

Element position will be relative to its parent (if any)

Default: 50

relative

Number

Defined in src\raska.js:711

Element position will be absolute and will have no regard about its parent position whatsoever

Default: 50