public class GraphFromGraphMLDemo extends Object
Constructor and Description |
---|
GraphFromGraphMLDemo(String filename)
Creates an instance showing a simple graph with controls to demonstrate the zoom features.
|
public GraphFromGraphMLDemo(String filename) throws ParserConfigurationException, SAXException, IOException
filename
- the file containing the graph data we're readingParserConfigurationException
- if a SAX parser cannot be constructedSAXException
- if the SAX parser factory cannot be constructedIOException
- if the file cannot be readpublic static void main(String[] args) throws ParserConfigurationException, SAXException, IOException
args
- if this contains at least one element, the first will be used as the file to readParserConfigurationException
- if a SAX parser cannot be constructedSAXException
- if the SAX parser factory cannot be constructedIOException
- if the file cannot be readCopyright © 2015. All rights reserved.