Class 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.String convert​(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.Tree parse​(java.lang.String graphml)
      Parses the graph in GraphML and returns the built graph.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GraphMLParser

        public GraphMLParser()
    • 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 format
        predictionTypes -
        classType -
        predictionTypes -
        predictionTypes -
        config -
        Returns:
        the graph in tree XML or null in case of an error