Class FlowGraphToGraphDotConverterSettings.Builder

java.lang.Object
de.xima.fc.workflow.converter.graphdot.FlowGraphToGraphDotConverterSettings.Builder
Enclosing class:
FlowGraphToGraphDotConverterSettings

public static final class FlowGraphToGraphDotConverterSettings.Builder extends Object
Since:
8.2.0
Author:
XIMA MEDIA GmbH
  • Method Details

    • build

      Returns:
      A new settings instance with the current settings.
    • constrainLayoutToFlow

      public FlowGraphToGraphDotConverterSettings.Builder constrainLayoutToFlow(boolean constrainLayoutToFlow)
      Parameters:
      constrainLayoutToFlow - true to 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 - true to 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 - true to 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

      public FlowGraphToGraphDotConverterSettings.Builder showAllNodeNames(boolean showAllNodeNames)
      Parameters:
      showAllNodeNames - When true, show all nodes names, even for nodes that do not have a user visible name.
      Returns:
      builder This builder instance for chaining method calls.
    • showHierarchyEdges

      public FlowGraphToGraphDotConverterSettings.Builder showHierarchyEdges(boolean showHierarchyEdges)
      Parameters:
      showHierarchyEdges - true to show hierarchy edges from the syntax tree.
      Returns:
      builder This builder instance for chaining method calls.