{"version":"1.0","type":"rich","title":"getting all roles","description":"This visualization displays the relationships between user roles and their permissions in a Backdrop CMS environment. It uses the PHP `user_roles()` function to fetch role data from configuration files, reading names with the `config_get_names_with_prefix()` API. The example renders a network diagram where each role appears as a node, with edges connecting roles that share permissions. The data source is the site’s user role configuration, and the layout is computed using a force-directed graph algorithm, though the specific JavaScript library (such as d3.forceSimulation) is not shown in the provided code snippet.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-a666dcb49358b27347e59ce5170d8b8d?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}