Manual
Modules Loaded
Module scripting commands
General scripting commands
Scripting
Module: Balls & Sticks
Full package name: mesquite.trees.BallsNSticks.BallsNSticks
Duty: Draw Tree (mesquite.lib.duties.DrawTree)
Module Explanation
Draws trees with spots and the nodes and thin lines for branches.
Author(s): Wayne P. Maddison and David R. Maddison
Version 3.70
Menu items of Balls & Sticks
Orientation
Up
Explanation:
Orients the tree so that the terminals are pointing up
Right
Explanation:
Orients the tree drawing so that the terminal taxa are at right
Down
Explanation:
Orients the tree so that the terminals are pointing down
Left
Explanation:
Orients the tree drawing so that the terminal taxa are at left
Line Style
Diagonal
Explanation:
Sets line style
Square
Explanation:
Sets line style
Curved
Explanation:
Sets line style
Line Width...
Explanation:
Sets how wide the branches of the tree are drawn
Parameters:
[width in pixels]
Preferred Spot Size...
Explanation:
Sets the diameter of the spots
Parameters:
[diameter in pixels]
Balls On Internal Nodes
Explanation:
Sets whether or not balls are shown on internal nodes
Parameters:
[on or off]
Cosmic
Explanation:
Sets whether or not "cosmic" mode is on
Parameters:
[on or off]
Commands of Balls & Sticks
setSpotDiameter
Explanation:
Sets the diameter of the spots
Parameters:
[diameter in pixels]
setEdgeWidth
Explanation:
Sets how wide the branches of the tree are drawn
Parameters:
[width in pixels]
toggleCosmic
Explanation:
Sets whether or not "cosmic" mode is on
Parameters:
[on or off]
toggleBallsInternal
Explanation:
Sets whether or not balls are shown on internal nodes
Parameters:
[on or off]
toggleArc
Explanation:
Sets whether or not arcs are to be used
Parameters:
[on or off]
useDiagonal
Explanation:
Sets line style
useSquare
Explanation:
Sets line style
useCurved
Explanation:
Sets line style
getNodeLocsEmployee
Explanation:
Returns the module employed to set the node locations
orientUp
Explanation:
Orients the tree so that the terminals are pointing up
orientDown
Explanation:
Orients the tree so that the terminals are pointing down
orientRight
Explanation:
Orients the tree drawing so that the terminal taxa are at right
orientLeft
Explanation:
Orients the tree drawing so that the terminal taxa are at left
logLastResultString
Explanation:
Logs last result string
getLastResultString
Explanation:
Returns last result string
getLastResult
Explanation:
Returns last MesquiteNumber result