Methods
draw()
Draw the arc diagram
- Source:
getMaxArcHeight(arcs)
Method to calculate the correct arc height given the distance of the patterns
Parameters:
Name | Type | Description |
---|---|---|
arcs |
All arcs for a pattern |
- Source:
Returns:
The maximum arc height
getMaxArcWidth(arcs)
Method to calculate the correct arc width given the distance of the patterns
Parameters:
Name | Type | Description |
---|---|---|
arcs |
All arcs for a pattern |
- Source:
Returns:
The maximum arc width
parseInput(input)
Method to parse the input of the textfield or the file
Parameters:
Name | Type | Description |
---|---|---|
input |
The string of data to be parsed and visualized as arcs |
- Source:
Returns:
Struct of characters and essential matching pair arcs to draw