Class FlowGraphToGraphDotConverterSettings.Builder
java.lang.Object
de.xima.fc.workflow.converter.graphdot.FlowGraphToGraphDotConverterSettings.Builder
- Enclosing class:
FlowGraphToGraphDotConverterSettings
Builder to build
FlowGraphToGraphDotConverterSettings.- Since:
- 8.2.0
- Author:
- XIMA MEDIA GmbH
-
Method Summary
Modifier and TypeMethodDescriptionbuild()constrainLayoutToFlow(boolean constrainLayoutToFlow) constrainLayoutToHierarchy(boolean constrainLayoutToHierarchy) direction(ERankDirection direction) ignoreBackwardsEdgesForLayout(boolean ignoreBackwardsEdgesForLayout) separateUnreachableNodes(boolean separateUnreachableNodes) showAllNodeNames(boolean showAllNodeNames) showHierarchyEdges(boolean showHierarchyEdges)
-
Method Details
-
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
- 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
- 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
- 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
- Parameters:
showHierarchyEdges-trueto show hierarchy edges from the syntax tree.- Returns:
- builder This builder instance for chaining method calls.
-