//
StringTokenizer st = new StringTokenizer(
this.getParameter("nodes"), ",");
while (st.hasMoreElements())
g.addNode(st.nextToken());
st = new StringTokenizer(this.getParameter("edges"), ",-");
while (st.hasMoreElements())
g.addEdge("edge", st.nextToken(), st.nextToken());