lementById('toggleGraphFilter').addEventListener('click', function() {
                showGraphPermissionsOnly = !showGraphPermissionsOnly; // Toggle state

                // Toggle button color to indicate active filter
                if (showGraphPermissionsOnly) {
                    this.classList.remove("bg-gray-800");
                    this.classList.add("bg-blue-600");
                } else {
                    this.classList.remove("bg-blue-600");
                    this.classList.add("bg-gr