Three-Dimensional Topology Of The Magnetic Field In The Solar Corona