Class GraphMLParser
- java.lang.Object
-
- org.processmining.prediction.newPrefuseTreeVis.GraphMLParser
-
public class GraphMLParser extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GraphMLParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.Stringconvert(java.lang.String dotty, PredictionType classType, java.util.HashMap<java.lang.String,PredictionType> predictionTypes, VisConfigurables config)Converts the dotty format to TreeML.protected prefuse.data.Treeparse(java.lang.String graphml)Parses the graph in GraphML and returns the built graph.
-
-
-
Method Detail
-
parse
protected prefuse.data.Tree parse(java.lang.String graphml)
Parses the graph in GraphML and returns the built graph.- Parameters:
graphml- the graph in GraphML- Returns:
- the graph or null in case of an error
-
convert
protected java.lang.String convert(java.lang.String dotty, PredictionType classType, java.util.HashMap<java.lang.String,PredictionType> predictionTypes, VisConfigurables config)Converts the dotty format to TreeML.- Parameters:
dotty- the graph in dotty formatpredictionTypes-classType-predictionTypes-predictionTypes-config-- Returns:
- the graph in tree XML or null in case of an error
-
-