class Graph {

    public static Graph fromSmiles(String smi) throws
                                               InvalidSmilesException {
        if (smi == null)
            throw new NullPointerException("no SMILES provided");
        Parser parser = new Parser(CharBuffer.fromString(smi), false);
        for (String warn : parser.getWarnings()) {
            for (String line : warn.split("\n"))
              System.err.println("SMILES Warning: " + line);
        }
        return parser.molecule();
    }

      Graph(int expSize);
      Graph(Graph org);

}