{{ 'XP.Knowledgebase.Graph' | translate: { Default: 'Graph' } }}

{{ statusLabel(status()?.status) | translate: { Default: 'Pending' } }}

{{ 'XP.Knowledgebase.GraphExplorerSubtitle' | translate: { Default: 'Explore entities, relationships, and their source evidence.' } }}

{{ 'XP.Knowledgebase.GraphChatModel' | translate: { Default: 'Chat model' } }} @if (chatModelName(); as modelName) { {{ modelName }} } @else { {{ 'XP.Knowledgebase.GraphChatModelFallback' | translate: { Default: 'Primary Copilot fallback' } }} }
@if (status()?.enabled && status()?.status === KnowledgeGraphStatus.REBUILD_REQUIRED) {

{{ 'XP.Knowledgebase.GraphRebuildRequiredHelp' | translate : { Default: 'Graph indexing is enabled. Rebuild the graph to include existing documents.' } }}

} @else if (status()?.status === KnowledgeGraphStatus.FAILED && status()?.error) {

{{ status()?.error }}

}
{{ 'XP.Knowledgebase.AllEntityTypes' | translate: { Default: 'All entity types' } }} @for (type of entityTypes(); track type) { {{ type }} } {{ 'XP.Knowledgebase.AllRelationTypes' | translate: { Default: 'All relation types' } }} @for (type of relationTypes(); track type) { {{ type }} } {{ 'XP.Knowledgebase.AllOrigins' | translate: { Default: 'All origins' } }} @for (originOption of origins; track originOption) { @if (originOption) { {{ 'XP.Knowledgebase.GraphOrigin_' + originOption | translate: { Default: originOption } }} } } @for (visibilityOption of visibilities; track visibilityOption) { {{ 'XP.Knowledgebase.GraphVisibility_' + visibilityOption | translate: { Default: visibilityOption } }} }
{{ 'XP.Knowledgebase.NoFocusEntity' | translate: { Default: 'No focus entity' } }} @for (entity of entityOptions(); track entity.id) { {{ entity.name }} } @if (activeFilterCount()) { }
@if (loading()) { } @if (disabled()) { } @else if (empty()) { } @else {
{{ nodes().length }}
{{ 'XP.Knowledgebase.Entities' | translate: { Default: 'Entities' } }} @if (totalEntityCount() !== nodes().length) { / {{ totalEntityCount() }} }
{{ edges().length }}
{{ 'XP.Knowledgebase.Relations' | translate: { Default: 'Relations' } }} @if (totalRelationCount() !== edges().length) { / {{ totalRelationCount() }} }
{{ graphZoom() }}%
@if (legendItems().length) {
{{ 'XP.Knowledgebase.GraphLegend' | translate: { Default: 'Entity types' } }} @for (item of legendItems(); track item.type) { }
} }
@if (editorMode(); as mode) { }