Documentation of 'edu.uci.ics.jung.samples.GraphFromGraphMLDemo' Java class
GraphFromGraphMLDemo
edu.uci.ics.jung.samples

Class GraphFromGraphMLDemo



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

      Constructors 
      Constructor and Description
      GraphFromGraphMLDemo(java.lang.String filename)
      Creates an instance showing a simple graph with controls to demonstrate the zoom features.
    • Method Summary

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

        equals, 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
        Creates an instance showing a simple graph with controls to demonstrate the zoom features.
        Parameters:
        filename - the file containing the graph data we're reading
        Throws:
        javax.xml.parsers.ParserConfigurationException - if a SAX parser cannot be constructed
        org.xml.sax.SAXException - if the SAX parser factory cannot be constructed
        java.io.IOException - if the file cannot be read
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws javax.xml.parsers.ParserConfigurationException,
                                org.xml.sax.SAXException,
                                java.io.IOException
        Parameters:
        args - if this contains at least one element, the first will be used as the file to read
        Throws:
        javax.xml.parsers.ParserConfigurationException - if a SAX parser cannot be constructed
        org.xml.sax.SAXException - if the SAX parser factory cannot be constructed
        java.io.IOException - if the file cannot be read

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.