If you want to display a tag cloud with your groups as accordion panels (segments), you can use the Gutenberg block or the following shortcode:
The output will look like this:1
For more options, see the list of parameters.
You can see examples of these shortcodes in action on the demo pages.
If you use the same tag with various groups and want to make sure, that the tag links only to those posts that use this tag with a particular group, you need to activate an additional filter
Use the toggle switch in the Gutenberg block or in the shortcode the parameter:
If the resulting list is unexpectedly empty or misses posts, please try to run Maintenance.