Class FlowGraphToGraphDotConverterSettings.Builder

    • Method Detail

      • 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.
      • 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.
      • 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.