Making a Mind Map with VisualScript
A mind map is a type of tree diagram that when shapes are added to it grows to the right or left instead of downward.
You can build a mind map by setting the ShapeConnectorType on the first shape to "Mindmap".
var myDocument=new VS.Document();
Mind maps can use two ShapeConnectors, one in left and one right, for the first shape, but then, just as with other trees, you should only use one per shape for the child shapes.