import org.graphstream.graph.Graph;
import org.graphstream.graph.implementations.SingleGraph;

public class HelloGaph {
    public static void main(String[] args) {
        Graph graph = new SingleGraph("hello");
        graph.addNode("A");
        graph.addNode("B");
        graph.addNode("C");
        graph.addEdge("AB", "A", "B");
        graph.addEdge("BC", "B", "C");
        graph.addEdge("CA", "C", "A");
        graph.display();
    }
}
