mid hiding graph functionality