xybind

<script src="./point_src/xybind"></script>

Meta Data
filepath_exists True
path xybind
filepath xybind.js
clean_files ()

  • VariableDeclaration
    let

    defaultRad

    =
    (((Math.PI2 + {'type': 'CallExpression', 'start': 42, 'end': 55, 'loc': {'start': {'line': 3, 'column': 29}, 'end': {'line': 3, 'column': 42}}, 'callee': {'type': 'Identifier', 'start': 42, 'end': 50, 'loc': {'start': {'line': 3, 'column': 29}, 'end': {'line': 3, 'column': 37}}, 'name': 'degToRad', 'pos': <run_tree2.Position object at 0x000000000336E280>}, 'arguments': [{'type': 'UnaryExpression', 'start': 51, 'end': 54, 'loc': {'start': {'line': 3, 'column': 38}, 'end': {'line': 3, 'column': 41}}, 'operator': '-', 'prefix': True, 'argument': {'type': 'Literal', 'start': 52, 'end': 54, 'loc': {'start': {'line': 3, 'column': 39}, 'end': {'line': 3, 'column': 41}}, 'value': 90, 'raw': '90', 'pos': <run_tree2.Position object at 0x000000000336E190>}, 'pos': <run_tree2.Position object at 0x000000000336E5E0>}], 'optional': False, 'pos': <run_tree2.Position object at 0x000000000336E340>}) + Math.PI) % Math.PI2)
    Works.
  • ClassDeclaration
    class comments:
    console.log('primary drag')
    • constructor

      constructor

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      step

      (
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      updateFunction

      (
      target , parent
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      childToParentUpdate

      (
      target , parent , opts , d
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])

      console.log('primary drag')

    • method

      lockedPosition

      (
      target , parent , opts , d
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])

      position is locked (reverse)

    • method

      relockingPosition

      (
      target , parent , opts
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])

      Dragging a relative control point.

    • method

      smoothUpdateFunction

      (
      target , parent
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])

      If _bindingSettings are defined, the lock step will pre-lock the control point.

    • method

      pairTest

      (
      vChildren , kOwner
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      pairTestSingle

      (
      vChild , kOwner
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])

      Iterate the bindmap, ensuring the XY of a pair match Propagate the changed value (dirty) to the unchanges value.

    • method

      connect

      (
      parent , child , childPositionSettings = {}
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])

      child.parentWheel = parent

    • method

      safeMapAppend

      (
      bindMap , parent , child
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
  • VariableDeclaration
    let

    globalXYBind

    =
    new XYBindMap ( this )
  • ExpressionStatement

    :

    dict_keys(['type', 'expression', 'pos'])
  • ClassDeclaration
    class comments:
    • constructor

      constructor

      (
      point
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      connectTo

      (
      other , opts = {}
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    • method

      follow

      (
      other , opts = {}
      )
      from class_name
      dict_keys(['kind', 'word', 'static', 'computed', 'is_symbol', 'value', 'type', 'comments', 'pos'])
    dict_keys(['kind', 'word', 'parentName', 'type', 'body', 'comments', 'pos'])
  • ExpressionStatement

    :

    dict_keys(['type', 'expression', 'pos'])
  • ExpressionStatement

    :

    dict_keys(['type', 'expression', 'pos'])