Class GraphFromGraphMLDemo


  • public class GraphFromGraphMLDemo
    extends java.lang.Object
    Demonstrates loading (and visualizing) a graph from a GraphML file.
    • Constructor Summary

      Constructors 
      Constructor Description
      GraphFromGraphMLDemo​(java.lang.String filename)
      create an instance of a simple graph with controls to demo the zoom features.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      a driver for this demo
      • Methods inherited from class java.lang.Object

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

      • GraphFromGraphMLDemo

        public GraphFromGraphMLDemo​(java.lang.String filename)
                             throws javax.xml.parsers.ParserConfigurationException,
                                    org.xml.sax.SAXException,
                                    java.io.IOException
        create an instance of a simple graph with controls to demo the zoom features.
        Throws:
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException
        java.io.IOException
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
                         throws javax.xml.parsers.ParserConfigurationException,
                                org.xml.sax.SAXException,
                                java.io.IOException
        a driver for this demo
        Throws:
        java.io.IOException
        org.xml.sax.SAXException
        javax.xml.parsers.ParserConfigurationException