Class UsageGraph

java.lang.Object
eu.bandm.tools.dtm.UsageGraph

public class UsageGraph extends Object
  • Field Details

    • min_x

      protected int min_x
    • limit_x

      protected int limit_x
    • modulo_shift_x

      protected int modulo_shift_x
    • modulo

      protected int modulo
    • factor_x

      protected int factor_x
    • x_gap

      protected int x_gap
    • x_margin_right

      protected int x_margin_right
    • min_y

      protected int min_y
    • y_step_inner

      protected int y_step_inner
    • y_step_outer

      protected int y_step_outer
    • y_margin_bottom

      protected int y_margin_bottom
    • CHAR_HEIGHT

      protected int CHAR_HEIGHT
    • width

      protected int width
    • height

      protected int height
    • result_svg

      protected String result_svg
    • result_map

      protected Element_map result_map
    • style_visibleLines

      final String style_visibleLines
      See Also:
    • style_invisibleLines

      final String style_invisibleLines
      See Also:
    • style_by_external_css

      final String style_by_external_css
      See Also:
  • Constructor Details

    • UsageGraph

      public UsageGraph()
  • Method Details

    • getResult_svg

      public String getResult_svg()
    • getResult_map

      public Element_map getResult_map()
    • getWidth

      public int getWidth()
    • getHeight

      public int getHeight()
    • shortname2textanchor

      public static String shortname2textanchor(String s)
    • shortname2graphanchor

      public static String shortname2graphanchor(String s)
    • shortname2usertext

      public static String shortname2usertext(String s)
    • makeGraph

      public void makeGraph(String title, Multimap<String,String> usageRelation)
      attention initial coordinate system:
           |
        ---+------------------------> positive x
           |
           |
           | positive y
           V