Deferred Planarity Test implementation is from https://code.google.com/archive/p/planarity-algorithms/. The original code is licensed under the "New BSD License".