References
Class Summary
| Static Public Class Summary | ||
| public | Abstract class for algorithms. | |
| public | Stores the results generated by running an Algorithm. | |
| public | Tool for running algorithms. | |
| public | Front end canvas frame which reacts to mouse-clicks upon it | |
| public | Represents changes for a Node or Edge during a step of the algorithm. | |
| public | Node subclass for circle nodes. | |
| public | The context menu html object which reacts to context clicks | |
| public | Edge subclass for dashed edges. | |
| public | Node subclass for diamond nodes. | |
| public | Class to create custom dropdown menus, backed by HTML <select> objects. | |
| public | Data representation of a graph edge. | |
| public | Tool for adding edges to the graph. | |
| public | Eraser Tool for removing nodes and edges from the graph using the mouse pointer. | |
| public | Data representation of a graph. | |
| public | Node subclass for diamond nodes. | |
| public | Data representation of text objects. | |
| public | Class representing 2D lines. | |
| public | Mouse event handler. | |
| public | Tool for moving graph objects. | |
| public | Data representation of a graph node. | |
| public | Tool for adding nodes to the graph. | |
| public | Node subclass for diamond nodes. | |
| public | Tool for panning the canvas. | |
| public | Node subclass for diamond nodes. | |
| public | Class representing 2D points. | |
| public | Node subclass for polygon nodes. | |
| public | Creates a new queue. | |
| public | Tool combining functionality of SelectTool and MoveTool. | |
| public | Tool for selecting objects. | |
| public | Serializer class takes care of saving and loading graph via JSON manipulation | |
| public | This class manages the container for sidebar-content subclasses, and is responsible for managing those subclasses as well. | |
| public | Sidebar that accompanies the AlgorithmTool. | |
| public | SidebarContent is a super class This class ensures the proper methods are overloaded, takes in a graph to store so it can use it to access metadata, and starts setting up the tab class. | |
| public | Sidebar content class for displaying graph data. | |
| public | Sidebar content class for handling selected items. | |
| public | Edge subclass for solid edges. | |
| public | Node subclass for diamond nodes. | |
| public | Stack containers for simple FILO data structures. | |
| public | Class for controlling updates to the status bar. | |
| public | Represents a step of an algorithm. | |
| public | Helper class to build Step objects. | |
| public | Helper class for stepping through and playing algorithm results. | |
| public | Class for controlling tabs. | |
| public | Abstract superclass for all tool classes. | |
| public | Class for controlling state of the toolbar. | |
| public | Class for controlling the state of the top bar. | |
| public | Class that contains code for running a traversal algorithm. | |
| public | Class representing a 2D triangle. | |
| public | Node subclass for diamond nodes. | |
| public | Class for containing references to all UI controllers. | |
| public | Class for representing 2D vectors. | |
Function Summary
| Static Public Function Summary | ||
| public | Find the derivative of a quadratic bezier at a given point. | |
| public | calcBezierDistance(pointX: number, pointY: number, start: Point, control: Point, end: Point): number Function that calculates the distance between a specified point and a quadratic bezier. | |
| public | createForm(fields: Array<InputType>): string Create an html string for a form given an array of field types. | |
| public | Create a form with inputs for graph elements. | |
| public | displayError(form: Element, inputName: string, showError: boolean) Add/remove the CSS class 'error' to the specified form input. | |
| public | Get all of the data from a form. | |
| public | getInputValue(input: Element): boolean | number | string Get the value of the given form input. | |
| public | Get the value of a single input. | |
| public | init() Call to initialize form functionality. | |
| public | scrollToElement(element: Element, to: number, speed: number, easing: string) Function to scroll to an element. | |
