g.addEdge("is a", "C++", "Programming Language");
g.addEdge("is a", "Perl", "Programming Language");
g.addEdge("is a", "Python", "Programming Language");
}
p.setLayout(new CircularLayoutAlgorithm(200));
//p.setLayout(new ForceDirectedLayoutAlgorithm(p));
this.getContentPane().add(p);
}