The topological theory of current graphs