{$i18n.t("Groups")}
{#each groups as [groupAddress, groupEntryAddress]}
{/if}
(highlightedType = groupAddress)}
on:mouseleave={() => (highlightedType = undefined)}
>
{#if editable}
removeGroup(groupEntryAddress)}
/>
{/if}
{/each}
{#if editable}
{#each Object.entries(typedAttributes) as [typeAddr, entries] (typeAddr)}
{/each}
{#if currentUntypedAttributes.length > 0 || editable}
{/if}
{#if currentUntypedLinks.length > 0 || editable}
{/if}
{#if tagged.length > 0}
{/if}
{#if currentBacklinks.length > 0}
{/if}
{#if $entityInfo?.t === "Attribute"}
{/if}
{#if editable}
{/if}
{:else}
{$i18n.t("Used")} ({attributesUsed.length})
{$error}
{/if}