The graph of an electrical network has N nodes and B branches. The number of links L, with respect to the choice of a tree, is given by