Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.port80.graph.dot.impl
Class Dot  view Dot download Dot.java

java.lang.Object
  extended bycom.port80.graph.dot.impl.Dot

public class Dot
extends java.lang.Object

Graph layout.


Field Summary
(package private)  java.awt.image.BufferedImage bimg
           
private static java.lang.String CLASSNAME
           
private static boolean DEBUG
           
(package private)  java.awt.Graphics2D g2d
           
private static int MAXANNEAL
           
private static int MAXUNTANGLE
           
private static java.lang.String NAME
           
private static java.util.Map opt
           
private static java.lang.String PACKAGENAME
           
(package private)  com.port80.graph.impl.DirectedGraphRenderer renderer
           
private static java.lang.String USAGE
           
static boolean VERBOSE
           
private static int VERSION
           
private static java.lang.String VERSIONNAME
           
 
Constructor Summary
Dot()
           
Dot(java.util.Map options)
           
 
Method Summary
static com.port80.graph.IGraph dot(com.port80.graph.IGraph g)
           
static com.port80.graph.IGraph dot(com.port80.graph.IGraph g, int seed, int passes)
           
static com.port80.graph.IGraph dot(com.port80.graph.IGraph g, com.port80.graph.IVertex v)
           
 com.port80.graph.IGraph layout(com.port80.graph.IGraph g, int seed, int passes)
          Layout a complete graph.
static void main(java.lang.String[] args)
           
static com.port80.graph.dot.parser.DotParser parseFile(java.lang.String fpath)
           
 com.port80.graph.IGraph route(com.port80.graph.IGraph g, com.port80.graph.IVertex v, int seed)
           
static void setVerbose(boolean verbose)
           
 void updateShape(com.port80.graph.IGraph g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

private static final java.lang.String NAME
See Also:
Constant Field Values

PACKAGENAME

private static final java.lang.String PACKAGENAME
See Also:
Constant Field Values

CLASSNAME

private static final java.lang.String CLASSNAME
See Also:
Constant Field Values

VERSION

private static final int VERSION
See Also:
Constant Field Values

VERSIONNAME

private static final java.lang.String VERSIONNAME
See Also:
Constant Field Values

USAGE

private static final java.lang.String USAGE
See Also:
Constant Field Values

DEBUG

private static boolean DEBUG

VERBOSE

public static boolean VERBOSE

MAXUNTANGLE

private static final int MAXUNTANGLE
See Also:
Constant Field Values

MAXANNEAL

private static final int MAXANNEAL
See Also:
Constant Field Values

opt

private static java.util.Map opt

bimg

java.awt.image.BufferedImage bimg

g2d

java.awt.Graphics2D g2d

renderer

com.port80.graph.impl.DirectedGraphRenderer renderer
Constructor Detail

Dot

public Dot()

Dot

public Dot(java.util.Map options)
Method Detail

dot

public static com.port80.graph.IGraph dot(com.port80.graph.IGraph g)

dot

public static com.port80.graph.IGraph dot(com.port80.graph.IGraph g,
                                          int seed,
                                          int passes)

dot

public static com.port80.graph.IGraph dot(com.port80.graph.IGraph g,
                                          com.port80.graph.IVertex v)

main

public static void main(java.lang.String[] args)

updateShape

public void updateShape(com.port80.graph.IGraph g)

setVerbose

public static void setVerbose(boolean verbose)

parseFile

public static com.port80.graph.dot.parser.DotParser parseFile(java.lang.String fpath)

layout

public com.port80.graph.IGraph layout(com.port80.graph.IGraph g,
                                      int seed,
                                      int passes)
Layout a complete graph.


route

public com.port80.graph.IGraph route(com.port80.graph.IGraph g,
                                     com.port80.graph.IVertex v,
                                     int seed)