The enum values defined here are used exclusively for the Layout a Diagram method. They enable you to define the layout options as depicted in the Layout a Diagram menu option (see the Enterprise Architect User Guide topic for further information).
Method 
Notes 
lsDiagramDefault 

lsProgramDefault 

lsCycleRemoveGreedy 
Use the Greedy Cycle Removal algorithm 
lsCycleRemoveDFS 
Use the Depth First Cycle Removal algorithm 
lsLayeringLongestPathSink 
Layer the diagram using the Longest Path Sink algorithm 
lsLayeringLongestPathSource 
Layer the diagram using the Longest Path Source algorithm 
lsLayeringOptimalLinkLength 
Layer the diagram using the Optimal Link Length algorithm 
lsInitializeNaive 
Initialize the layout using the Naïve Initialize Indices algorithm 
lsInitializeDFSOut 
Initialize the layout using the Depth First Search Outward algorithm 
lsInitializeDFSIn 
Initialize the layout using the Depth First Search Inward algorithm 
lsCrossReduceAggressive 
Perform aggressive Crossreduction in the layout process (time consuming) 
lsLayoutDirectionUp 
Direct links to point upwards 
lsLayoutDirectionDown 
Direct links to point downwards 
lsLayoutDirectionLeft 
Direct links to point leftwards 
lsLayoutDirectionRight 
Direct links to point rightwards 