@Deprecated
public class DotLoader
extends java.lang.Object
Constructor and Description |
---|
DotLoader()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DotParseSystem |
getParseSystem()
Deprecated.
Returns the dot parser
|
static boolean |
readDot(java.io.File file,
GraphLibrary<?,?> targetGraph,
boolean ignoreWeights,
boolean ignoreLayoutAttributes)
Deprecated.
Reads a Dot file and builds a graph
|
static boolean |
readDot(java.lang.String dotSource,
GraphLibrary<?,?> targetGraph,
boolean ignoreWeights,
boolean ignoreLayoutAttributes)
Deprecated.
Reads the given string in Dot syntax and builds a graph
|
public static boolean readDot(java.io.File file, GraphLibrary<?,?> targetGraph, boolean ignoreWeights, boolean ignoreLayoutAttributes) throws ParseException
file
- the file to readtargetGraph
- the graph to build intoignoreWeights
- if true, then edge weights are ignored while readingignoreLayoutAttributes
- if true, then layout attributes are ignored while reading and no vertex and edge
data will be setParseException
public static boolean readDot(java.lang.String dotSource, GraphLibrary<?,?> targetGraph, boolean ignoreWeights, boolean ignoreLayoutAttributes) throws ParseException
dotSource
- the string to parse. The string must be in Dot syntax.targetGraph
- the graph to buildignoreWeights
- if true, then edge weights will be ignored while parsingignoreLayoutAttributes
- if true, then layout attributes will be ignored while parsing and no vertex and
edge data will be setParseException
public static DotParseSystem getParseSystem()