Class BasicGraphPalette

    • Constructor Detail

      • BasicGraphPalette

        public BasicGraphPalette()
    • Method Detail

      • getColorForArc

        public java.awt.Color getColorForArc​(Arc arc)
        Specified by:
        getColorForArc in interface GraphPalette
        Parameters:
        arc - Arc for which color should be retrieved.
        Returns:
        Color associated with the given arc.
      • getWidthForArc

        public int getWidthForArc​(Arc arc)
        Specified by:
        getWidthForArc in interface GraphPalette
        Parameters:
        arc - Arc for which width should be retrieved.
        Returns:
        Width associated with the given arc.