public void createEdgesForThisGraph()
    {
        Node focus = null;

        //==== here we save the node that is the parent/focus paper
        //==== there will be only one expanded node when creating a graph
        for (Node node:graph)
        {
            if (node.getAttribute("ui.class").equals("EXPANDED"))
            {
                focus = node;
            }
        }

        System.out.println("EDGES CREATION ");
        //==== here we go through the nodes and create edges
        //==== between the expanded node and other nodes
        //==== by checking their attribute
        for (Node node:graph)
        {
            if(! (node.getAttribute("ui.class").equals("EXPANDED")) )
            {
                graph.addEdge(node.getId() + "+" + focus.getId(),node,focus);
                //==== here we create the edge with a uniqe identifier
                //==== which is the title + the expanded node's title
            }
            else if (graph.getNodeCount() == 1)
            {
                node.setAttribute("ui.label","No citations found for  [ " + node.getId() + " ]");
            }
        }
    }