Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EdgeTool

Hierarchy

  • EdgeTool

Index

Constructors

constructor

Properties

edgeInCreation

edgeInCreation: Selection<SVGElement, any, any, any>

graph

graph: Graph

isDown

isDown: boolean

node

node: Node

previousX

previousX: number

previousY

previousY: number

turingMachine

turingMachine: TuringMachine

Methods

Private closestNode

  • closestNode(beginEdge: object, endEdge: object, minLength: number, distFromEnd: number): Node
  • Parameters

    • beginEdge: object
      • x: any
      • y: any
    • endEdge: object
      • x: any
      • y: any
    • minLength: number
    • distFromEnd: number

    Returns Node

    the closest node to the end point with a distance to the end point of max distFromEnd if any

Private drawEdgeInCreation

  • drawEdgeInCreation(): void

pointerClick

pointerDown

pointerLeave

pointerMove

pointerUp

Generated using TypeDoc