public class DotParserUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.awt.Color |
DEFAULT_BORDER_COLOR |
static java.awt.Color |
DEFAULT_FILL_COLOR |
static boolean |
NEW_EDGE_RENDERING |
Constructor and Description |
---|
DotParserUtils() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Dimension |
parseBoundingBoxAttribute(java.lang.String bboxAttr) |
static java.awt.Color |
parseColorAttribute(java.lang.String attribute,
java.awt.Color defaultColor) |
static double |
parseDimensionAttribute(java.lang.String attribute) |
static boolean |
parseEdgeAttributes(IOPEdge edge,
java.util.HashMap<java.lang.String,java.lang.String> attributes,
double graphHeight) |
static boolean |
parseEdgeAttributes(IOPEdge edge,
java.lang.String pointStr,
java.lang.String dir,
java.lang.String style,
double graphHeight) |
static boolean |
parseEdgeAttributes(IOPEdge edge,
java.lang.String _draw_,
java.lang.String _ldraw_,
java.lang.String _hdraw_,
java.lang.String _tdraw_,
java.lang.String _hldraw_,
java.lang.String _tldraw_,
double graphHeight) |
static int |
parseIntegerAttribute(java.lang.String attribute) |
static IOPNode |
parseNodeAttributes(IOPGraph graph,
IOPNode node,
java.lang.String node_id,
java.util.HashMap<java.lang.String,java.lang.String> attributes,
double graphHeight) |
static IOPNode |
parseNodeAttributes(IOPGraph graph,
IOPNode node,
java.lang.String node_id,
java.util.HashMap<java.lang.String,java.lang.String> attributes,
double graphHeight,
java.util.HashMap<java.lang.String,java.lang.String> global_attributes) |
static java.awt.geom.Point2D |
parsePositionAttribute(java.lang.String attribute,
double graphHeight) |
static IOPSubgraph |
parseSubgraphAttributes(IOPSubgraph subgraph,
java.lang.String subgraph_id,
java.util.HashMap<java.lang.String,java.lang.String> attributes,
double graphHeight) |
public static java.awt.Color DEFAULT_BORDER_COLOR
public static java.awt.Color DEFAULT_FILL_COLOR
public static final boolean NEW_EDGE_RENDERING
public static java.awt.Color parseColorAttribute(java.lang.String attribute, java.awt.Color defaultColor)
public static java.awt.geom.Point2D parsePositionAttribute(java.lang.String attribute, double graphHeight)
public static double parseDimensionAttribute(java.lang.String attribute)
public static int parseIntegerAttribute(java.lang.String attribute)
public static java.awt.Dimension parseBoundingBoxAttribute(java.lang.String bboxAttr)
public static IOPSubgraph parseSubgraphAttributes(IOPSubgraph subgraph, java.lang.String subgraph_id, java.util.HashMap<java.lang.String,java.lang.String> attributes, double graphHeight)
public static IOPNode parseNodeAttributes(IOPGraph graph, IOPNode node, java.lang.String node_id, java.util.HashMap<java.lang.String,java.lang.String> attributes, double graphHeight, java.util.HashMap<java.lang.String,java.lang.String> global_attributes)
public static IOPNode parseNodeAttributes(IOPGraph graph, IOPNode node, java.lang.String node_id, java.util.HashMap<java.lang.String,java.lang.String> attributes, double graphHeight)
public static boolean parseEdgeAttributes(IOPEdge edge, java.util.HashMap<java.lang.String,java.lang.String> attributes, double graphHeight)
public static boolean parseEdgeAttributes(IOPEdge edge, java.lang.String _draw_, java.lang.String _ldraw_, java.lang.String _hdraw_, java.lang.String _tdraw_, java.lang.String _hldraw_, java.lang.String _tldraw_, double graphHeight)
public static boolean parseEdgeAttributes(IOPEdge edge, java.lang.String pointStr, java.lang.String dir, java.lang.String style, double graphHeight)