Class FlowGraphToGraphDotConverterSettings.Builder
- java.lang.Object
 - 
- de.xima.fc.workflow.designer.logic.FlowGraphToGraphDotConverterSettings.Builder
 
 
- 
- Enclosing class:
 - FlowGraphToGraphDotConverterSettings
 
public static final class FlowGraphToGraphDotConverterSettings.Builder extends Object
Builder to buildFlowGraphToGraphDotConverterSettings. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlowGraphToGraphDotConverterSettingsbuild()FlowGraphToGraphDotConverterSettings.BuilderconstrainLayoutToFlow(boolean constrainLayoutToFlow)FlowGraphToGraphDotConverterSettings.BuilderconstrainLayoutToHierarchy(boolean constrainLayoutToHierarchy)FlowGraphToGraphDotConverterSettings.Builderdirection(ERankDirection direction)FlowGraphToGraphDotConverterSettings.BuilderignoreBackwardsEdgesForLayout(boolean ignoreBackwardsEdgesForLayout)FlowGraphToGraphDotConverterSettings.Builderlocale(Locale locale)FlowGraphToGraphDotConverterSettings.BuilderseparateUnreachableNodes(boolean separateUnreachableNodes)FlowGraphToGraphDotConverterSettings.BuildershowAllNodeNames(boolean showAllNodeNames)FlowGraphToGraphDotConverterSettings.BuildershowHierarchyEdges(boolean showHierarchyEdges) 
 - 
 
- 
- 
Method Detail
- 
build
public FlowGraphToGraphDotConverterSettings build()
- Returns:
 - A new settings instance with the current settings.
 
 
- 
constrainLayoutToFlow
public FlowGraphToGraphDotConverterSettings.Builder constrainLayoutToFlow(boolean constrainLayoutToFlow)
- Parameters:
 constrainLayoutToFlow-trueto take the computed flow edges into account when computing the layout.- Returns:
 - builder This builder instance for chaining method calls.
 
 
- 
constrainLayoutToHierarchy
public FlowGraphToGraphDotConverterSettings.Builder constrainLayoutToHierarchy(boolean constrainLayoutToHierarchy)
- Parameters:
 constrainLayoutToHierarchy-trueto take the hierarchy from the abstract syntax tree into account when computing the layout.- Returns:
 - builder This builder instance for chaining method calls.
 
 
- 
direction
public FlowGraphToGraphDotConverterSettings.Builder direction(ERankDirection direction)
- Parameters:
 direction- Direction of the layout.- Returns:
 - builder This builder instance for chaining method calls.
 
 
- 
ignoreBackwardsEdgesForLayout
public FlowGraphToGraphDotConverterSettings.Builder ignoreBackwardsEdgesForLayout(boolean ignoreBackwardsEdgesForLayout)
- Parameters:
 ignoreBackwardsEdgesForLayout-trueto ignore backwards edges when computing the layout.- Returns:
 - builder This builder instance for chaining method calls.
 
 
- 
locale
public FlowGraphToGraphDotConverterSettings.Builder locale(Locale locale)
- Parameters:
 locale- Locale for localizing node types etc.- Returns:
 - builder This builder instance for chaining method calls.
 
 
- 
separateUnreachableNodes
public FlowGraphToGraphDotConverterSettings.Builder separateUnreachableNodes(boolean separateUnreachableNodes)
- Parameters:
 separateUnreachableNodes- Whether to draw unreachable nodes as a separate cluster.- Returns:
 - builder This builder instance for chaining method calls.
 
 
- 
showAllNodeNames
public FlowGraphToGraphDotConverterSettings.Builder showAllNodeNames(boolean showAllNodeNames)
- Parameters:
 showAllNodeNames- Whentrue, show all nodes names, even for nodes that do not have auser visiblename.- Returns:
 - builder This builder instance for chaining method calls.
 
 
- 
showHierarchyEdges
public FlowGraphToGraphDotConverterSettings.Builder showHierarchyEdges(boolean showHierarchyEdges)
- Parameters:
 showHierarchyEdges-trueto show hierarchy edges from the syntax tree.- Returns:
 - builder This builder instance for chaining method calls.
 
 
 - 
 
 -