Interfaced graphs with DB