Class DOTExporterConfig


  • public class DOTExporterConfig
    extends Object
    Immutable rendering settings for a DOTExporter - layout, fonts, label truncation and the default node and edge styles.
    • Method Detail

      • getGraphName

        public String getGraphName()
        Returns:
        the graph name
      • isDirected

        public boolean isDirected()
        Returns:
        whether directed
      • isIncludeLegend

        public boolean isIncludeLegend()
        Returns:
        whether include legend
      • isClusterByMethod

        public boolean isClusterByMethod()
        Returns:
        whether cluster by method
      • isShowNodeIds

        public boolean isShowNodeIds()
        Returns:
        whether show node ids
      • isTruncateLabels

        public boolean isTruncateLabels()
        Returns:
        whether truncate labels
      • getMaxLabelLength

        public int getMaxLabelLength()
        Returns:
        the max label length
      • getFontName

        public String getFontName()
        Returns:
        the font name
      • getFontSize

        public int getFontSize()
        Returns:
        the font size
      • getRankDir

        public String getRankDir()
        Returns:
        the rank dir
      • defaults

        public static DOTExporterConfig defaults()
        Returns:
        a config with every setting left at its default
      • leftToRight

        public static DOTExporterConfig leftToRight()
        Returns:
        a config that lays the graph out left to right instead of top to bottom
      • compact

        public static DOTExporterConfig compact()
        Returns:
        a config with the legend, method clustering and node ids turned off