Class ImportGraphSvg

java.lang.Object
eu.bandm.tools.graficUtils.ImportGraphSvg

public class ImportGraphSvg extends Object
Creates a two-diemnsional clickable visualisation of a rooted directed graph. Usage: create a fresh instance, call once "makeGraph", and then request results.

Names of nodes are arbitrary.
HRefs of nodes must not contain a ":" colon.
Lines have an ID which combines both nodes, thereby are switchable.
Requires (currently) "renderedDtd.js" (or sim.) !
svg link GEHT NICHT, stattdessen xhtml-[map] danebenlegen:

        ("    <a xlink:href=\"%s\">\n"
         +"       <text x=\"%dpx\" y=\"%dpx\" id=\"%s\" title=\"%s\" "
         +"onmouseover=\"doMoveIn(this.id)\">%s$lt;/text>\n"
         +"    </a>\n",
         "#"+shortname2textanchor(s), // FIXME geht nicht !!! script-loesung ??
         string2x.get(s),
         string2y.get(s),
         shortname2graphanchor(s),
         shortname2usertext(s),
         s);
 

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

      static final String style_invisibleLines
      See Also:
    • style_by_external_css

      static final String style_by_external_css
      See Also:
  • Constructor Details

    • ImportGraphSvg

      public ImportGraphSvg()
  • Method Details