@praxisui/list 10.0.0-rc.53 → 10.0.0-rc.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -1
- package/ai/component-registry.json +2244 -24
- package/docs/adr/2026-11-relationship-graph-architecture.md +95 -0
- package/docs/praxis-relationship-graph-landing.md +79 -0
- package/fesm2022/praxisui-list.mjs +7492 -322
- package/package.json +6 -6
- package/src/lib/praxis-organogram.json-api.md +48 -1
- package/src/lib/praxis-relationship-graph.json-api.md +96 -0
- package/types/praxisui-list.d.ts +1326 -15
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
3
|
+
"generatedAt": "2026-11-19T04:18:21.275Z",
|
|
4
4
|
"packageName": "@praxisui/list",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.55",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
|
-
"componentCount":
|
|
8
|
+
"componentCount": 5,
|
|
9
9
|
"components": {
|
|
10
10
|
"praxis-lifecycle-timeline": {
|
|
11
11
|
"id": "praxis-lifecycle-timeline",
|
|
@@ -10797,6 +10797,34 @@
|
|
|
10797
10797
|
"description": "Gera pílulas de chefia (person) e lotação (role-quota) para unidades com metadados.",
|
|
10798
10798
|
"label": "Sintetizar pílulas polimórficas",
|
|
10799
10799
|
"default": true
|
|
10800
|
+
},
|
|
10801
|
+
{
|
|
10802
|
+
"name": "comparisonNodes",
|
|
10803
|
+
"type": "ReadonlyArray<Record<string, unknown> | PraxisOrganogramNode> | null",
|
|
10804
|
+
"required": false,
|
|
10805
|
+
"description": "Lista de unidades de referência anterior usada no modo diff temporal (+, -, ⇄, Δ).",
|
|
10806
|
+
"label": "Snapshot comparativo (baseline)"
|
|
10807
|
+
},
|
|
10808
|
+
{
|
|
10809
|
+
"name": "referenceDateLabel",
|
|
10810
|
+
"type": "string | null",
|
|
10811
|
+
"required": false,
|
|
10812
|
+
"description": "Rótulo exibido na barra de diff temporal para o snapshot vigente.",
|
|
10813
|
+
"label": "Data de referência atual"
|
|
10814
|
+
},
|
|
10815
|
+
{
|
|
10816
|
+
"name": "comparisonDateLabel",
|
|
10817
|
+
"type": "string | null",
|
|
10818
|
+
"required": false,
|
|
10819
|
+
"description": "Rótulo exibido na barra de diff temporal para o snapshot comparativo.",
|
|
10820
|
+
"label": "Data de referência anterior"
|
|
10821
|
+
},
|
|
10822
|
+
{
|
|
10823
|
+
"name": "occupancyColorRule",
|
|
10824
|
+
"type": "PraxisOrganogramOccupancyColorRule | null",
|
|
10825
|
+
"required": false,
|
|
10826
|
+
"description": "Configura preenchimento semântico opcional por taxa de ocupação ou criticidade de comando.",
|
|
10827
|
+
"label": "Regra de coloração por ocupação/criticidade"
|
|
10800
10828
|
}
|
|
10801
10829
|
],
|
|
10802
10830
|
"outputs": [
|
|
@@ -12307,6 +12335,26 @@
|
|
|
12307
12335
|
"name": "collapsedIds",
|
|
12308
12336
|
"type": "ReadonlySet<string> | ReadonlyArray<string>",
|
|
12309
12337
|
"description": "Controlled set/array of unit codes with collapsed child branches."
|
|
12338
|
+
},
|
|
12339
|
+
{
|
|
12340
|
+
"name": "comparisonNodes",
|
|
12341
|
+
"type": "ReadonlyArray<Record<string, unknown> | PraxisOrganogramNode>",
|
|
12342
|
+
"description": "Baseline snapshot/reference-date nodes compared against current nodes when diff is enabled."
|
|
12343
|
+
},
|
|
12344
|
+
{
|
|
12345
|
+
"name": "diffEnabled",
|
|
12346
|
+
"type": "boolean",
|
|
12347
|
+
"description": "Enables temporal snapshot comparison mode independently of comparisonNodes non-emptiness."
|
|
12348
|
+
},
|
|
12349
|
+
{
|
|
12350
|
+
"name": "diffConfig",
|
|
12351
|
+
"type": "PraxisOrganogramDiffConfig",
|
|
12352
|
+
"description": "Overrides config.diff settings (enabled, referenceDateLabel, comparisonDateLabel, comparisonNodes, changesOnly)."
|
|
12353
|
+
},
|
|
12354
|
+
{
|
|
12355
|
+
"name": "occupancyColorRule",
|
|
12356
|
+
"type": "PraxisOrganogramOccupancyColorRule",
|
|
12357
|
+
"description": "Overrides config.rules.occupancyColoring occupancy/criticality coloring thresholds at runtime."
|
|
12310
12358
|
}
|
|
12311
12359
|
],
|
|
12312
12360
|
"editableTargets": [
|
|
@@ -12338,7 +12386,7 @@
|
|
|
12338
12386
|
{
|
|
12339
12387
|
"kind": "interaction",
|
|
12340
12388
|
"resolver": "interaction-config",
|
|
12341
|
-
"description": "Hierarchy mode, extinct filter, scope badge label and
|
|
12389
|
+
"description": "Hierarchy mode, extinct filter, scope badge label, polymorphic synthesis and temporal snapshot diff mode.",
|
|
12342
12390
|
"resolutionSpec": {
|
|
12343
12391
|
"strategy": "root-path",
|
|
12344
12392
|
"paths": [
|
|
@@ -12348,6 +12396,19 @@
|
|
|
12348
12396
|
"allowIndex": false
|
|
12349
12397
|
}
|
|
12350
12398
|
},
|
|
12399
|
+
{
|
|
12400
|
+
"kind": "rules",
|
|
12401
|
+
"resolver": "interaction-config",
|
|
12402
|
+
"description": "Declarative JSON Logic node style overrides and occupancy/criticality coloring thresholds.",
|
|
12403
|
+
"resolutionSpec": {
|
|
12404
|
+
"strategy": "root-path",
|
|
12405
|
+
"paths": [
|
|
12406
|
+
"rules",
|
|
12407
|
+
"$"
|
|
12408
|
+
],
|
|
12409
|
+
"allowIndex": false
|
|
12410
|
+
}
|
|
12411
|
+
},
|
|
12351
12412
|
{
|
|
12352
12413
|
"kind": "dataBinding",
|
|
12353
12414
|
"resolver": "data-config",
|
|
@@ -13083,6 +13144,153 @@
|
|
|
13083
13144
|
"preconditions": [
|
|
13084
13145
|
"config-initialized"
|
|
13085
13146
|
]
|
|
13147
|
+
},
|
|
13148
|
+
{
|
|
13149
|
+
"operationId": "organogram.rules.occupancyColoring.configure",
|
|
13150
|
+
"title": "Configure occupancy & criticality coloring rules",
|
|
13151
|
+
"description": "Configures rules.occupancyColoring thresholds (0 <= lowThresholdPercent < highThresholdPercent <= 100), criticality mode, intensity and overQuotaDanger flag (including authorizedCount === 0 && occupiedCount > 0).",
|
|
13152
|
+
"scope": "rules",
|
|
13153
|
+
"targetKind": "rules",
|
|
13154
|
+
"target": {
|
|
13155
|
+
"kind": "rules",
|
|
13156
|
+
"resolver": "interaction-config",
|
|
13157
|
+
"ambiguityPolicy": "fail",
|
|
13158
|
+
"required": false,
|
|
13159
|
+
"resolutionSpec": {
|
|
13160
|
+
"strategy": "root-path",
|
|
13161
|
+
"paths": [
|
|
13162
|
+
"rules",
|
|
13163
|
+
"$"
|
|
13164
|
+
],
|
|
13165
|
+
"allowIndex": false
|
|
13166
|
+
}
|
|
13167
|
+
},
|
|
13168
|
+
"inputSchema": {
|
|
13169
|
+
"type": "object",
|
|
13170
|
+
"properties": {
|
|
13171
|
+
"enabled": {
|
|
13172
|
+
"type": "boolean"
|
|
13173
|
+
},
|
|
13174
|
+
"mode": {
|
|
13175
|
+
"enum": [
|
|
13176
|
+
"none",
|
|
13177
|
+
"occupancy",
|
|
13178
|
+
"criticality"
|
|
13179
|
+
]
|
|
13180
|
+
},
|
|
13181
|
+
"lowThresholdPercent": {
|
|
13182
|
+
"type": "number",
|
|
13183
|
+
"minimum": 0,
|
|
13184
|
+
"maximum": 99
|
|
13185
|
+
},
|
|
13186
|
+
"warningThresholdPercent": {
|
|
13187
|
+
"type": "number",
|
|
13188
|
+
"minimum": 0,
|
|
13189
|
+
"maximum": 100
|
|
13190
|
+
},
|
|
13191
|
+
"highThresholdPercent": {
|
|
13192
|
+
"type": "number",
|
|
13193
|
+
"minimum": 1,
|
|
13194
|
+
"maximum": 100
|
|
13195
|
+
},
|
|
13196
|
+
"overQuotaDanger": {
|
|
13197
|
+
"type": "boolean"
|
|
13198
|
+
},
|
|
13199
|
+
"intensity": {
|
|
13200
|
+
"enum": [
|
|
13201
|
+
"subtle",
|
|
13202
|
+
"strong"
|
|
13203
|
+
]
|
|
13204
|
+
}
|
|
13205
|
+
}
|
|
13206
|
+
},
|
|
13207
|
+
"effects": [
|
|
13208
|
+
{
|
|
13209
|
+
"kind": "merge-object",
|
|
13210
|
+
"path": "rules.occupancyColoring"
|
|
13211
|
+
}
|
|
13212
|
+
],
|
|
13213
|
+
"validators": [
|
|
13214
|
+
"occupancy-thresholds-valid",
|
|
13215
|
+
"editor-round-trip-preserve"
|
|
13216
|
+
],
|
|
13217
|
+
"affectedPaths": [
|
|
13218
|
+
"rules.occupancyColoring",
|
|
13219
|
+
"rules.occupancyColoring.enabled",
|
|
13220
|
+
"rules.occupancyColoring.mode",
|
|
13221
|
+
"rules.occupancyColoring.lowThresholdPercent",
|
|
13222
|
+
"rules.occupancyColoring.warningThresholdPercent",
|
|
13223
|
+
"rules.occupancyColoring.highThresholdPercent",
|
|
13224
|
+
"rules.occupancyColoring.overQuotaDanger",
|
|
13225
|
+
"rules.occupancyColoring.intensity"
|
|
13226
|
+
],
|
|
13227
|
+
"submissionImpact": "visual-only",
|
|
13228
|
+
"destructive": false,
|
|
13229
|
+
"requiresConfirmation": false,
|
|
13230
|
+
"preconditions": [
|
|
13231
|
+
"config-initialized"
|
|
13232
|
+
]
|
|
13233
|
+
},
|
|
13234
|
+
{
|
|
13235
|
+
"operationId": "organogram.diff.configure",
|
|
13236
|
+
"title": "Configure temporal snapshot diff comparison",
|
|
13237
|
+
"description": "Configures config.diff temporal snapshot comparison labels, changes-only filter, and activation flags.",
|
|
13238
|
+
"scope": "interaction",
|
|
13239
|
+
"targetKind": "interaction",
|
|
13240
|
+
"target": {
|
|
13241
|
+
"kind": "interaction",
|
|
13242
|
+
"resolver": "interaction-config",
|
|
13243
|
+
"ambiguityPolicy": "fail",
|
|
13244
|
+
"required": false,
|
|
13245
|
+
"resolutionSpec": {
|
|
13246
|
+
"strategy": "root-path",
|
|
13247
|
+
"paths": [
|
|
13248
|
+
"diff",
|
|
13249
|
+
"$"
|
|
13250
|
+
],
|
|
13251
|
+
"allowIndex": false
|
|
13252
|
+
}
|
|
13253
|
+
},
|
|
13254
|
+
"inputSchema": {
|
|
13255
|
+
"type": "object",
|
|
13256
|
+
"properties": {
|
|
13257
|
+
"enabled": {
|
|
13258
|
+
"type": "boolean"
|
|
13259
|
+
},
|
|
13260
|
+
"referenceDateLabel": {
|
|
13261
|
+
"type": "string"
|
|
13262
|
+
},
|
|
13263
|
+
"comparisonDateLabel": {
|
|
13264
|
+
"type": "string"
|
|
13265
|
+
},
|
|
13266
|
+
"changesOnly": {
|
|
13267
|
+
"type": "boolean"
|
|
13268
|
+
}
|
|
13269
|
+
}
|
|
13270
|
+
},
|
|
13271
|
+
"effects": [
|
|
13272
|
+
{
|
|
13273
|
+
"kind": "merge-object",
|
|
13274
|
+
"path": "diff"
|
|
13275
|
+
}
|
|
13276
|
+
],
|
|
13277
|
+
"validators": [
|
|
13278
|
+
"interaction-value-supported",
|
|
13279
|
+
"editor-round-trip-preserve"
|
|
13280
|
+
],
|
|
13281
|
+
"affectedPaths": [
|
|
13282
|
+
"diff",
|
|
13283
|
+
"diff.enabled",
|
|
13284
|
+
"diff.referenceDateLabel",
|
|
13285
|
+
"diff.comparisonDateLabel",
|
|
13286
|
+
"diff.changesOnly"
|
|
13287
|
+
],
|
|
13288
|
+
"submissionImpact": "visual-only",
|
|
13289
|
+
"destructive": false,
|
|
13290
|
+
"requiresConfirmation": false,
|
|
13291
|
+
"preconditions": [
|
|
13292
|
+
"config-initialized"
|
|
13293
|
+
]
|
|
13086
13294
|
}
|
|
13087
13295
|
],
|
|
13088
13296
|
"validators": [
|
|
@@ -13133,12 +13341,18 @@
|
|
|
13133
13341
|
"level": "warning",
|
|
13134
13342
|
"code": "PO008",
|
|
13135
13343
|
"description": "Appearance tokens, lineColor, canvasBackground, gridDotColor and toneColors must be safe for host CSS sanitization policy."
|
|
13344
|
+
},
|
|
13345
|
+
{
|
|
13346
|
+
"validatorId": "occupancy-thresholds-valid",
|
|
13347
|
+
"level": "error",
|
|
13348
|
+
"code": "PO009",
|
|
13349
|
+
"description": "rules.occupancyColoring thresholds must satisfy 0 <= lowThresholdPercent < highThresholdPercent <= 100 and warningThresholdPercent between low and high."
|
|
13136
13350
|
}
|
|
13137
13351
|
],
|
|
13138
13352
|
"roundTripRequirements": [
|
|
13139
13353
|
"PraxisOrganogramWidgetConfigEditor must preserve layout.topology, layout.direction, layout.initialExpandDepth, layout.showLegend and compactLeafStackThreshold without data loss.",
|
|
13140
13354
|
"PraxisOrganogramWidgetConfigEditor must preserve local dataSource.data alongside dataSource.resourcePath.",
|
|
13141
|
-
"PraxisOrganogramWidgetConfigEditor must preserve appearance, skin, icons, rules, actions and quickView fields without data loss.",
|
|
13355
|
+
"PraxisOrganogramWidgetConfigEditor must preserve appearance, skin, icons, rules (including occupancyColoring thresholds), diff, actions and quickView fields without data loss.",
|
|
13142
13356
|
"Polymorphic variant visibility toggles must round-trip cleanly via layout.showNodeVariantPills."
|
|
13143
13357
|
],
|
|
13144
13358
|
"examples": [
|
|
@@ -13243,6 +13457,33 @@
|
|
|
13243
13457
|
},
|
|
13244
13458
|
"isPositive": true
|
|
13245
13459
|
},
|
|
13460
|
+
{
|
|
13461
|
+
"id": "configure-organogram-occupancy-coloring",
|
|
13462
|
+
"request": "Highlight units by command and occupancy criticality with 45% low and 92% target thresholds.",
|
|
13463
|
+
"operationId": "organogram.rules.occupancyColoring.configure",
|
|
13464
|
+
"params": {
|
|
13465
|
+
"enabled": true,
|
|
13466
|
+
"mode": "criticality",
|
|
13467
|
+
"lowThresholdPercent": 45,
|
|
13468
|
+
"warningThresholdPercent": 70,
|
|
13469
|
+
"highThresholdPercent": 92,
|
|
13470
|
+
"overQuotaDanger": true,
|
|
13471
|
+
"intensity": "strong"
|
|
13472
|
+
},
|
|
13473
|
+
"isPositive": true
|
|
13474
|
+
},
|
|
13475
|
+
{
|
|
13476
|
+
"id": "configure-organogram-diff",
|
|
13477
|
+
"request": "Enable temporal snapshot diff comparing 2026-10 against 2026-01 showing changes only.",
|
|
13478
|
+
"operationId": "organogram.diff.configure",
|
|
13479
|
+
"params": {
|
|
13480
|
+
"enabled": true,
|
|
13481
|
+
"referenceDateLabel": "2026-10",
|
|
13482
|
+
"comparisonDateLabel": "2026-01",
|
|
13483
|
+
"changesOnly": true
|
|
13484
|
+
},
|
|
13485
|
+
"isPositive": true
|
|
13486
|
+
},
|
|
13246
13487
|
{
|
|
13247
13488
|
"id": "reject-unsupported-topology",
|
|
13248
13489
|
"request": "Switch the organogram topology to isometric-3d.",
|
|
@@ -13258,9 +13499,9 @@
|
|
|
13258
13499
|
{
|
|
13259
13500
|
"chunkIndex": 0,
|
|
13260
13501
|
"chunkKind": "summary",
|
|
13261
|
-
"content": "Component ID: praxis-organogram\nSelector: praxis-organogram\nFriendly Name: Praxis Organogram\nDescription: Explorador hierárquico polimórfico (setores, liderança, cargos/vagas e escopo) com 4 topologias visuais, busca com retenção de ancestrais e integração 360°.\nLib/Package: @praxisui/list\nTags: organogram, hierarchy, org-chart, tree, list, praxis\nInputs:\n - config (PraxisOrganogramConfig)\n - organogramId (string)\n - componentInstanceId (string)\n - configPersistenceStrategy ('local-first' | 'input-first' | 'volatile')\n - enableCustomization (boolean)\n - nodes (ReadonlyArray<Record<string, unknown> | PraxisOrganogramNode>)\n - resourcePath (string)\n - queryContext (PraxisDataQueryContext)\n - topology ('orthogonal-compact' | 'pillars' | 'curved-hub' | 'radial-360')\n - hierarchyType (number)\n - includeExtinct (boolean)\n - selectedSubtreeRoot (string | null)\n - collapsedIds (ReadonlySet<string> | ReadonlyArray<string>)\n - rootScopeLabel (string)\n - synthesizePolymorphicNodes (boolean)\nOutputs:\n - nodeClick (PraxisOrganogramNodeEvent)\n - nodeToggle (string)\n - subtreeFilterChange (PraxisOrganogramSubtreeFilterEvent)\n - inspect360 (PraxisOrganogramNodeEvent)\n - topologyChange (PraxisOrganogramTopology)\n - queryContextChange (PraxisDataQueryContext)\n - collapsedChange (ReadonlyArray<string>)\n - configPatchChange (Partial<PraxisOrganogramConfig>)\n - actionClick (PraxisOrganogramActionEvent)\nInsertion Presets:\n - organogram-orthogonal-compact: Organograma Ortogonal Compacto - Árvore hierárquica ortogonal com empilhamento vertical de folhas e pílulas de chefia/vagas.\n - organogram-pillars: Organograma em Pilares Executivos - Núcleo superior conectado a colunas numeradas por diretoria com medalhões de área.\n - organogram-curved-hub: Mapa Curvo Bilateral - Nó central conectado bilateralmente aos ramos primários via curvas suaves Bézier.\n - organogram-radial-360: Constelação Orbital 360° - Anel orbital pontilhado ao redor da unidade raiz com satélites laterais por ramo.\n",
|
|
13502
|
+
"content": "Component ID: praxis-organogram\nSelector: praxis-organogram\nFriendly Name: Praxis Organogram\nDescription: Explorador hierárquico polimórfico (setores, liderança, cargos/vagas e escopo) com 4 topologias visuais, busca com retenção de ancestrais e integração 360°.\nLib/Package: @praxisui/list\nTags: organogram, hierarchy, org-chart, tree, list, praxis\nInputs:\n - config (PraxisOrganogramConfig)\n - organogramId (string)\n - componentInstanceId (string)\n - configPersistenceStrategy ('local-first' | 'input-first' | 'volatile')\n - enableCustomization (boolean)\n - nodes (ReadonlyArray<Record<string, unknown> | PraxisOrganogramNode>)\n - resourcePath (string)\n - queryContext (PraxisDataQueryContext)\n - topology ('orthogonal-compact' | 'pillars' | 'curved-hub' | 'radial-360')\n - hierarchyType (number)\n - includeExtinct (boolean)\n - selectedSubtreeRoot (string | null)\n - collapsedIds (ReadonlySet<string> | ReadonlyArray<string>)\n - rootScopeLabel (string)\n - synthesizePolymorphicNodes (boolean)\n - comparisonNodes (ReadonlyArray<Record<string, unknown> | PraxisOrganogramNode> | null)\n - referenceDateLabel (string | null)\n - comparisonDateLabel (string | null)\n - occupancyColorRule (PraxisOrganogramOccupancyColorRule | null)\nOutputs:\n - nodeClick (PraxisOrganogramNodeEvent)\n - nodeToggle (string)\n - subtreeFilterChange (PraxisOrganogramSubtreeFilterEvent)\n - inspect360 (PraxisOrganogramNodeEvent)\n - topologyChange (PraxisOrganogramTopology)\n - queryContextChange (PraxisDataQueryContext)\n - collapsedChange (ReadonlyArray<string>)\n - configPatchChange (Partial<PraxisOrganogramConfig>)\n - actionClick (PraxisOrganogramActionEvent)\nInsertion Presets:\n - organogram-orthogonal-compact: Organograma Ortogonal Compacto - Árvore hierárquica ortogonal com empilhamento vertical de folhas e pílulas de chefia/vagas.\n - organogram-pillars: Organograma em Pilares Executivos - Núcleo superior conectado a colunas numeradas por diretoria com medalhões de área.\n - organogram-curved-hub: Mapa Curvo Bilateral - Nó central conectado bilateralmente aos ramos primários via curvas suaves Bézier.\n - organogram-radial-360: Constelação Orbital 360° - Anel orbital pontilhado ao redor da unidade raiz com satélites laterais por ramo.\n",
|
|
13262
13503
|
"sourcePointer": "projects/praxis-list/src/lib/praxis-organogram.metadata.ts",
|
|
13263
|
-
"contentHash": "
|
|
13504
|
+
"contentHash": "3ecdcdf97bdaf06d07deb274262b89bc8382a1c2359d82de3b89be58246fc204",
|
|
13264
13505
|
"sourceKind": "component_definition",
|
|
13265
13506
|
"sourceId": "praxis-organogram",
|
|
13266
13507
|
"corpusVersion": "1.0.0"
|
|
@@ -13378,9 +13619,9 @@
|
|
|
13378
13619
|
{
|
|
13379
13620
|
"chunkIndex": 12,
|
|
13380
13621
|
"chunkKind": "authoring_manifest",
|
|
13381
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"
|
|
13622
|
+
"content": "{\"operationId\":\"organogram.rules.occupancyColoring.configure\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Configure occupancy & criticality coloring rules Configures rules.occupancyColoring thresholds (0 <= lowThresholdPercent < highThresholdPercent <= 100), criticality mode, intensity and overQuotaDanger flag (including authorizedCount === 0 && occupiedCount > 0). Effects: merge-object. Highlight units by command and occupancy criticality with 45% low and 92% target thresholds.\",\"scope\":\"rules\",\"target\":{\"kind\":\"rules\",\"resolver\":\"interaction-config\",\"required\":false},\"inputContract\":{\"required\":[],\"properties\":[\"enabled\",\"mode\",\"lowThresholdPercent\",\"warningThresholdPercent\",\"highThresholdPercent\",\"overQuotaDanger\",\"intensity\"],\"semanticTerms\":[\"enabled\",\"mode\",\"lowThresholdPercent\",\"warningThresholdPercent\",\"highThresholdPercent\",\"overQuotaDanger\",\"intensity\",\"none\",\"occupancy\",\"criticality\",\"subtle\",\"strong\"]},\"effects\":[\"merge-object\"],\"affectedPaths\":[\"rules.occupancyColoring\",\"rules.occupancyColoring.enabled\",\"rules.occupancyColoring.mode\",\"rules.occupancyColoring.lowThresholdPercent\",\"rules.occupancyColoring.warningThresholdPercent\",\"rules.occupancyColoring.highThresholdPercent\",\"rules.occupancyColoring.overQuotaDanger\",\"rules.occupancyColoring.intensity\"],\"validators\":[{\"validatorId\":\"occupancy-thresholds-valid\",\"level\":\"error\",\"code\":\"PO009\",\"description\":\"rules.occupancyColoring thresholds must satisfy 0 <= lowThresholdPercent < highThresholdPercent <= 100 and warningThresholdPercent between low and high.\"},{\"validatorId\":\"editor-round-trip-preserve\",\"level\":\"error\",\"code\":\"PO006\",\"description\":\"PraxisOrganogramWidgetConfigEditor must preserve layout, hierarchy, appearance, icons, rules, actions, quickView and mapping fields across save and reopen.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"visual-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"configure-organogram-occupancy-coloring\",\"request\":\"Highlight units by command and occupancy criticality with 45% low and 92% target thresholds.\",\"operationId\":\"organogram.rules.occupancyColoring.configure\",\"params\":{\"enabled\":true,\"mode\":\"criticality\",\"lowThresholdPercent\":45,\"warningThresholdPercent\":70,\"highThresholdPercent\":92,\"overQuotaDanger\":true,\"intensity\":\"strong\"},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
13382
13623
|
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13383
|
-
"contentHash": "
|
|
13624
|
+
"contentHash": "3d6c66536419461d67ae53c3a2ecdfc8db7b2df74cd0dff2c21c6c40054011d8",
|
|
13384
13625
|
"sourceKind": "component_definition",
|
|
13385
13626
|
"sourceId": "praxis-organogram",
|
|
13386
13627
|
"corpusVersion": "1.0.0"
|
|
@@ -13388,9 +13629,9 @@
|
|
|
13388
13629
|
{
|
|
13389
13630
|
"chunkIndex": 13,
|
|
13390
13631
|
"chunkKind": "authoring_manifest",
|
|
13391
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"
|
|
13632
|
+
"content": "{\"operationId\":\"organogram.diff.configure\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Configure temporal snapshot diff comparison Configures config.diff temporal snapshot comparison labels, changes-only filter, and activation flags. Effects: merge-object. Enable temporal snapshot diff comparing 2026-10 against 2026-01 showing changes only.\",\"scope\":\"interaction\",\"target\":{\"kind\":\"interaction\",\"resolver\":\"interaction-config\",\"required\":false},\"inputContract\":{\"required\":[],\"properties\":[\"enabled\",\"referenceDateLabel\",\"comparisonDateLabel\",\"changesOnly\"],\"semanticTerms\":[\"enabled\",\"referenceDateLabel\",\"comparisonDateLabel\",\"changesOnly\"]},\"effects\":[\"merge-object\"],\"affectedPaths\":[\"diff\",\"diff.enabled\",\"diff.referenceDateLabel\",\"diff.comparisonDateLabel\",\"diff.changesOnly\"],\"validators\":[{\"validatorId\":\"interaction-value-supported\",\"level\":\"error\",\"code\":\"PO003\",\"description\":\"Hierarchy mode (0..4), extinct filtering, scope labels and polymorphic synthesis options must be valid runtime interaction values.\"},{\"validatorId\":\"editor-round-trip-preserve\",\"level\":\"error\",\"code\":\"PO006\",\"description\":\"PraxisOrganogramWidgetConfigEditor must preserve layout, hierarchy, appearance, icons, rules, actions, quickView and mapping fields across save and reopen.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"visual-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"configure-organogram-diff\",\"request\":\"Enable temporal snapshot diff comparing 2026-10 against 2026-01 showing changes only.\",\"operationId\":\"organogram.diff.configure\",\"params\":{\"enabled\":true,\"referenceDateLabel\":\"2026-10\",\"comparisonDateLabel\":\"2026-01\",\"changesOnly\":true},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
13392
13633
|
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13393
|
-
"contentHash": "
|
|
13634
|
+
"contentHash": "23018c0b9e36d090b2658efb4be2ef05d35f52a33e1b651db2930d7bca97b576",
|
|
13394
13635
|
"sourceKind": "component_definition",
|
|
13395
13636
|
"sourceId": "praxis-organogram",
|
|
13396
13637
|
"corpusVersion": "1.0.0"
|
|
@@ -13398,9 +13639,9 @@
|
|
|
13398
13639
|
{
|
|
13399
13640
|
"chunkIndex": 14,
|
|
13400
13641
|
"chunkKind": "authoring_manifest",
|
|
13401
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"
|
|
13642
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"identity\"}",
|
|
13402
13643
|
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13403
|
-
"contentHash": "
|
|
13644
|
+
"contentHash": "c2bb92bae79e6e3a0dab9a7cf5d33ce298c06bf912810a0264f97488c8f59153",
|
|
13404
13645
|
"sourceKind": "component_definition",
|
|
13405
13646
|
"sourceId": "praxis-organogram",
|
|
13406
13647
|
"corpusVersion": "1.0.0"
|
|
@@ -13408,9 +13649,9 @@
|
|
|
13408
13649
|
{
|
|
13409
13650
|
"chunkIndex": 15,
|
|
13410
13651
|
"chunkKind": "authoring_manifest",
|
|
13411
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"
|
|
13652
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"config\",\"type\":\"PraxisOrganogramConfig\",\"description\":\"Canonical hierarchical organogram configuration.\"},{\"name\":\"nodes\",\"type\":\"ReadonlyArray<Record<string, unknown> | PraxisOrganogramNode>\",\"description\":\"Local flat or nested nodes overriding remote resourcePath loading.\"},{\"name\":\"resourcePath\",\"type\":\"string\",\"description\":\"Remote API resource path used when local nodes are absent.\"},{\"name\":\"queryContext\",\"type\":\"PraxisDataQueryContext\",\"description\":\"Filters and sorting context synced across composed widgets.\"},{\"name\":\"topology\",\"type\":\"PraxisOrganogramTopology\",\"description\":\"Active structural rendering topology.\",\"allowedValues\":[\"orthogonal-compact\",\"pillars\",\"curved-hub\",\"radial-360\"]},{\"name\":\"hierarchyType\",\"type\":\"number\",\"description\":\"Active parent-relation hierarchy selector (0..4).\"},{\"name\":\"includeExtinct\",\"type\":\"boolean\",\"description\":\"Whether extinct organizational units remain visible.\"},{\"name\":\"collapsedIds\",\"type\":\"ReadonlySet<string> | ReadonlyArray<string>\",\"description\":\"Controlled set/array of unit codes with collapsed child branches.\"},{\"name\":\"comparisonNodes\",\"type\":\"ReadonlyArray<Record<string, unknown> | PraxisOrganogramNode>\",\"description\":\"Baseline snapshot/reference-date nodes compared against current nodes when diff is enabled.\"},{\"name\":\"diffEnabled\",\"type\":\"boolean\",\"description\":\"Enables temporal snapshot comparison mode independently of comparisonNodes non-emptiness.\"},{\"name\":\"diffConfig\",\"type\":\"PraxisOrganogramDiffConfig\",\"description\":\"Overrides config.diff settings (enabled, referenceDateLabel, comparisonDateLabel, comparisonNodes, changesOnly).\"},{\"name\":\"occupancyColorRule\",\"type\":\"PraxisOrganogramOccupancyColorRule\",\"description\":\"Overrides config.rules.occupancyColoring occupancy/criticality coloring thresholds at runtime.\"}]}",
|
|
13412
13653
|
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13413
|
-
"contentHash": "
|
|
13654
|
+
"contentHash": "e5f68dd8572999dc9d832d95c3484d5f082e9697343992d0ce3a9f706c7e6b51",
|
|
13414
13655
|
"sourceKind": "component_definition",
|
|
13415
13656
|
"sourceId": "praxis-organogram",
|
|
13416
13657
|
"corpusVersion": "1.0.0"
|
|
@@ -13418,9 +13659,9 @@
|
|
|
13418
13659
|
{
|
|
13419
13660
|
"chunkIndex": 16,
|
|
13420
13661
|
"chunkKind": "authoring_manifest",
|
|
13421
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"
|
|
13662
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"meta\",\"resolver\":\"meta-config\",\"description\":\"Root organogram title and stable id.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"$\"],\"allowIndex\":false}},{\"kind\":\"layout\",\"resolver\":\"appearance-config\",\"description\":\"Visual topology, direction, compact stacking, initial expand depth, legend and toolbar controls.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"layout\",\"$\"],\"allowIndex\":false}},{\"kind\":\"interaction\",\"resolver\":\"interaction-config\",\"description\":\"Hierarchy mode, extinct filter, scope badge label, polymorphic synthesis and temporal snapshot diff mode.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"hierarchy\",\"$\"],\"allowIndex\":false}},{\"kind\":\"rules\",\"resolver\":\"interaction-config\",\"description\":\"Declarative JSON Logic node style overrides and occupancy/criticality coloring thresholds.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"rules\",\"$\"],\"allowIndex\":false}},{\"kind\":\"dataBinding\",\"resolver\":\"data-config\",\"description\":\"Remote resourcePath and local node precedence configuration.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"dataSource\",\"$\"],\"allowIndex\":false}},{\"kind\":\"skin\",\"resolver\":\"appearance-config\",\"description\":\"Visual skin, cardShape, accentPosition, connectorStyle, toneColors, statusToneMap and --prx-org-* CSS custom property tokens.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"appearance\",\"skin\",\"$\"],\"allowIndex\":false}},{\"kind\":\"templating\",\"resolver\":\"appearance-config\",\"description\":\"Semantic icons (unit, rootScope, leader, substitute, vacantLeader, quota, typeIconMap, statusIconMap, topologyIcons) resolved via PraxisIconDirective.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"icons\",\"$\"],\"allowIndex\":false}}]}",
|
|
13422
13663
|
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13423
|
-
"contentHash": "
|
|
13664
|
+
"contentHash": "2aaaa00c4e5c5e577d932c35683f0dac0d68c42b884ba4ae03fa97a12920c3cc",
|
|
13424
13665
|
"sourceKind": "component_definition",
|
|
13425
13666
|
"sourceId": "praxis-organogram",
|
|
13426
13667
|
"corpusVersion": "1.0.0"
|
|
@@ -13428,9 +13669,9 @@
|
|
|
13428
13669
|
{
|
|
13429
13670
|
"chunkIndex": 17,
|
|
13430
13671
|
"chunkKind": "authoring_manifest",
|
|
13431
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"
|
|
13672
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"organogram.title.set\",\"title\":\"Set organogram title\",\"description\":\"Sets the accessible and visual title at the root of PraxisOrganogramConfig.\",\"scope\":\"meta\",\"targetKind\":\"meta\",\"target\":{\"kind\":\"meta\",\"resolver\":\"meta-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"title\"],\"properties\":{\"title\":{\"type\":\"string\",\"minLength\":1}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"title\",\"inputPath\":\"title\"}],\"validators\":[\"title-i18n-compatible\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"title\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"organogram.topology.set\",\"title\":\"Set organogram topology\",\"description\":\"Switches layout.topology between orthogonal-compact, pillars, curved-hub and radial-360 without altering node data or hierarchy bindings.\",\"scope\":\"layout\",\"targetKind\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"appearance-config\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"layout\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"topology\"],\"properties\":{\"topology\":{\"enum\":[\"orthogonal-compact\",\"pillars\",\"curved-hub\",\"radial-360\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"layout.topology\",\"inputPath\":\"topology\"}],\"validators\":[\"layout-value-supported\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"layout.topology\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"organogram.direction.set\",\"title\":\"Set orthogonal tree direction\",\"description\":\"Sets layout.direction for orthogonal trees to top-bottom (TB) or left-right (LR).\",\"scope\":\"layout\",\"targetKind\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"appearance-config\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"layout\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"direction\"],\"properties\":{\"direction\":{\"enum\":[\"TB\",\"LR\"]}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"layout.direction\",\"inputPath\":\"direction\"}],\"validators\":[\"layout-value-supported\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"layout.direction\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"organogram.pills.toggle\",\"title\":\"Toggle polymorphic leader and quota pills\",\"description\":\"Controls layout.showNodeVariantPills to show or hide person and role-quota child pills under unit cards.\",\"scope\":\"layout\",\"targetKind\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"appearance-config\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"layout\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"showNodeVariantPills\"],\"properties\":{\"showNodeVariantPills\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"layout.showNodeVariantPills\",\"inputPath\":\"showNodeVariantPills\"}],\"validators\":[\"layout-value-supported\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"layout.showNodeVariantPills\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"organogram.layout.configure\",\"title\":\"Configure organogram layout controls, depth and governance legend\",\"description\":\"Configures topology, orthogonal direction, initialExpandDepth, governance status legend (showLegend), toolbar visibility and compact leaf stacking threshold.\",\"scope\":\"layout\",\"targetKind\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"appearance-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"layout\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"topology\":{\"enum\":[\"orthogonal-compact\",\"pillars\",\"curved-hub\",\"radial-360\"]},\"direction\":{\"enum\":[\"TB\",\"LR\"]},\"initialExpandDepth\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":12},\"showLegend\":{\"type\":\"boolean\"},\"showToolbar\":{\"type\":\"boolean\"},\"showSearch\":{\"type\":\"boolean\"},\"showZoomControls\":{\"type\":\"boolean\"},\"showTopologySwitcher\":{\"type\":\"boolean\"},\"showNodeVariantPills\":{\"type\":\"boolean\"},\"compactLeafStackThreshold\":{\"type\":\"integer\",\"minimum\":1,\"maximum\":20}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"layout\"}],\"validators\":[\"layout-value-supported\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"layout\",\"layout.topology\",\"layout.direction\",\"layout.initialExpandDepth\",\"layout.showLegend\",\"layout.showToolbar\",\"layout.showSearch\",\"layout.showZoomControls\",\"layout.showTopologySwitcher\",\"layout.showNodeVariantPills\",\"layout.compactLeafStackThreshold\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"organogram.hierarchy.configure\",\"title\":\"Configure organogram hierarchy rules and polymorphic synthesis\",\"description\":\"Configures parent-relation hierarchyType (0..4), extinct unit filtering, root institutional scope pill and polymorphic person/role-quota node synthesis.\",\"scope\":\"interaction\",\"targetKind\":\"interaction\",\"target\":{\"kind\":\"interaction\",\"resolver\":\"interaction-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"hierarchy\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"hierarchyType\":{\"type\":\"integer\",\"minimum\":0,\"maximum\":4},\"includeExtinct\":{\"type\":\"boolean\"},\"rootScopeLabel\":{\"type\":\"string\"},\"rootScopeIcon\":{\"type\":\"string\"},\"synthesizeLeaderNodes\":{\"type\":\"boolean\"},\"synthesizeQuotaNodes\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"hierarchy\"}],\"validators\":[\"interaction-value-supported\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"hierarchy\",\"hierarchy.hierarchyType\",\"hierarchy.includeExtinct\",\"hierarchy.rootScopeLabel\",\"hierarchy.rootScopeIcon\",\"hierarchy.synthesizeLeaderNodes\",\"hierarchy.synthesizeQuotaNodes\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"organogram.data.resource.bind\",\"title\":\"Bind remote organogram resourcePath\",\"description\":\"Configures dataSource.resourcePath for API loading when local nodes are not pinned. Local dataSource.data retains precedence if present.\",\"scope\":\"dataBinding\",\"targetKind\":\"dataBinding\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"data-config\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"dataSource\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"resourcePath\"],\"properties\":{\"resourcePath\":{\"type\":\"string\",\"minLength\":1}}},\"effects\":[{\"kind\":\"set-value\",\"path\":\"dataSource.resourcePath\",\"inputPath\":\"resourcePath\"}],\"validators\":[\"remote-resource-binding-safe\",\"local-remote-precedence-safe\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"dataSource.resourcePath\",\"dataSource.data\"],\"submissionImpact\":\"affects-remote-binding\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]}]}",
|
|
13432
13673
|
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13433
|
-
"contentHash": "
|
|
13674
|
+
"contentHash": "acd334f710564ed941eb31ffd442bebb80778b40f80c589d053d11e046843efc",
|
|
13434
13675
|
"sourceKind": "component_definition",
|
|
13435
13676
|
"sourceId": "praxis-organogram",
|
|
13436
13677
|
"corpusVersion": "1.0.0"
|
|
@@ -13438,9 +13679,9 @@
|
|
|
13438
13679
|
{
|
|
13439
13680
|
"chunkIndex": 18,
|
|
13440
13681
|
"chunkKind": "authoring_manifest",
|
|
13441
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"
|
|
13682
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"organogram.appearance.configure\",\"title\":\"Configure organogram visual skin, card shape, connectors and CSS tokens\",\"description\":\"Configures appearance.skin, cardShape, accentPosition, connectorStyle, lineColor, showCanvasGrid, toneColors, statusToneMap and --prx-org-* tokens for host customization.\",\"scope\":\"skin\",\"targetKind\":\"skin\",\"target\":{\"kind\":\"skin\",\"resolver\":\"appearance-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"appearance\",\"skin\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"skin\":{\"enum\":[\"elevated\",\"outline\",\"flat\",\"glass\",\"custom\"]},\"cardShape\":{\"enum\":[\"rounded\",\"soft\",\"sharp\",\"pill\",\"left-accent\",\"outline\",\"glass\",\"flat\"]},\"accentPosition\":{\"enum\":[\"top\",\"left\",\"full\",\"none\"]},\"connectorStyle\":{\"enum\":[\"solid\",\"dashed\",\"dotted\"]},\"connectorWidth\":{\"type\":\"string\"},\"connectorRadius\":{\"type\":\"string\"},\"lineColor\":{\"type\":\"string\"},\"canvasBackground\":{\"type\":\"string\"},\"gridDotColor\":{\"type\":\"string\"},\"showCanvasGrid\":{\"type\":\"boolean\"},\"cardWidth\":{\"type\":\"string\"},\"pillWidth\":{\"type\":\"string\"},\"radius\":{\"type\":\"string\"},\"pillRadius\":{\"type\":\"string\"},\"shadow\":{\"type\":\"string\"},\"border\":{\"type\":\"string\"},\"toneColors\":{\"type\":\"object\"},\"statusToneMap\":{\"type\":\"object\"},\"tokens\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"appearance\"}],\"validators\":[\"skin-value-supported\",\"style-value-safe\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"appearance\",\"appearance.skin\",\"appearance.cardShape\",\"appearance.accentPosition\",\"appearance.connectorStyle\",\"appearance.connectorWidth\",\"appearance.connectorRadius\",\"appearance.lineColor\",\"appearance.canvasBackground\",\"appearance.gridDotColor\",\"appearance.showCanvasGrid\",\"appearance.cardWidth\",\"appearance.pillWidth\",\"appearance.radius\",\"appearance.pillRadius\",\"appearance.shadow\",\"appearance.border\",\"appearance.toneColors\",\"appearance.statusToneMap\",\"appearance.tokens\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"organogram.icons.configure\",\"title\":\"Configure organogram domain and telemetry semantic icons\",\"description\":\"Configures declarative icons (unit, rootScope, leader, substitute, vacantLeader, quota, toolbar controls, typeIconMap, statusIconMap, topologyIcons).\",\"scope\":\"templating\",\"targetKind\":\"templating\",\"target\":{\"kind\":\"templating\",\"resolver\":\"appearance-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"icons\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"unit\":{\"type\":\"string\"},\"rootScope\":{\"type\":\"string\"},\"leader\":{\"type\":\"string\"},\"substitute\":{\"type\":\"string\"},\"vacantLeader\":{\"type\":\"string\"},\"quota\":{\"type\":\"string\"},\"expand\":{\"type\":\"string\"},\"collapse\":{\"type\":\"string\"},\"filter\":{\"type\":\"string\"},\"inspect360\":{\"type\":\"string\"},\"search\":{\"type\":\"string\"},\"resetZoom\":{\"type\":\"string\"},\"customize\":{\"type\":\"string\"},\"typeIconMap\":{\"type\":\"object\"},\"statusIconMap\":{\"type\":\"object\"},\"topologyIcons\":{\"type\":\"object\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"icons\"}],\"validators\":[\"editor-round-trip-preserve\"],\"affectedPaths\":[\"icons\",\"icons.unit\",\"icons.rootScope\",\"icons.leader\",\"icons.substitute\",\"icons.vacantLeader\",\"icons.quota\",\"icons.expand\",\"icons.collapse\",\"icons.filter\",\"icons.inspect360\",\"icons.search\",\"icons.resetZoom\",\"icons.customize\",\"icons.typeIconMap\",\"icons.statusIconMap\",\"icons.topologyIcons\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"organogram.rules.occupancyColoring.configure\",\"title\":\"Configure occupancy & criticality coloring rules\",\"description\":\"Configures rules.occupancyColoring thresholds (0 <= lowThresholdPercent < highThresholdPercent <= 100), criticality mode, intensity and overQuotaDanger flag (including authorizedCount === 0 && occupiedCount > 0).\",\"scope\":\"rules\",\"targetKind\":\"rules\",\"target\":{\"kind\":\"rules\",\"resolver\":\"interaction-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"rules\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"mode\":{\"enum\":[\"none\",\"occupancy\",\"criticality\"]},\"lowThresholdPercent\":{\"type\":\"number\",\"minimum\":0,\"maximum\":99},\"warningThresholdPercent\":{\"type\":\"number\",\"minimum\":0,\"maximum\":100},\"highThresholdPercent\":{\"type\":\"number\",\"minimum\":1,\"maximum\":100},\"overQuotaDanger\":{\"type\":\"boolean\"},\"intensity\":{\"enum\":[\"subtle\",\"strong\"]}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"rules.occupancyColoring\"}],\"validators\":[\"occupancy-thresholds-valid\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"rules.occupancyColoring\",\"rules.occupancyColoring.enabled\",\"rules.occupancyColoring.mode\",\"rules.occupancyColoring.lowThresholdPercent\",\"rules.occupancyColoring.warningThresholdPercent\",\"rules.occupancyColoring.highThresholdPercent\",\"rules.occupancyColoring.overQuotaDanger\",\"rules.occupancyColoring.intensity\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"organogram.diff.configure\",\"title\":\"Configure temporal snapshot diff comparison\",\"description\":\"Configures config.diff temporal snapshot comparison labels, changes-only filter, and activation flags.\",\"scope\":\"interaction\",\"targetKind\":\"interaction\",\"target\":{\"kind\":\"interaction\",\"resolver\":\"interaction-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"diff\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"enabled\":{\"type\":\"boolean\"},\"referenceDateLabel\":{\"type\":\"string\"},\"comparisonDateLabel\":{\"type\":\"string\"},\"changesOnly\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"diff\"}],\"validators\":[\"interaction-value-supported\",\"editor-round-trip-preserve\"],\"affectedPaths\":[\"diff\",\"diff.enabled\",\"diff.referenceDateLabel\",\"diff.comparisonDateLabel\",\"diff.changesOnly\"],\"submissionImpact\":\"visual-only\",\"destructive\":false,\"requiresConfirmation\":false,\"preconditions\":[\"config-initialized\"]}]}",
|
|
13442
13683
|
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13443
|
-
"contentHash": "
|
|
13684
|
+
"contentHash": "6ff42fc59f48fd5bec2f054ae5c0de180d0e79c0595e76928fff0cfded747f8d",
|
|
13444
13685
|
"sourceKind": "component_definition",
|
|
13445
13686
|
"sourceId": "praxis-organogram",
|
|
13446
13687
|
"corpusVersion": "1.0.0"
|
|
@@ -13448,15 +13689,35 @@
|
|
|
13448
13689
|
{
|
|
13449
13690
|
"chunkIndex": 19,
|
|
13450
13691
|
"chunkKind": "authoring_manifest",
|
|
13451
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"
|
|
13692
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"title-i18n-compatible\",\"level\":\"error\",\"code\":\"PO001\",\"description\":\"Organogram title must remain non-empty and compatible with runtime localization or explicit fallback labels.\"},{\"validatorId\":\"layout-value-supported\",\"level\":\"error\",\"code\":\"PO002\",\"description\":\"Topology (orthogonal-compact | pillars | curved-hub | radial-360), direction (TB | LR), initialExpandDepth, showLegend and toolbar flags must match supported runtime contracts.\"},{\"validatorId\":\"interaction-value-supported\",\"level\":\"error\",\"code\":\"PO003\",\"description\":\"Hierarchy mode (0..4), extinct filtering, scope labels and polymorphic synthesis options must be valid runtime interaction values.\"},{\"validatorId\":\"remote-resource-binding-safe\",\"level\":\"error\",\"code\":\"PO004\",\"description\":\"Remote resourcePath must reference a non-empty unambiguous relative Praxis API endpoint.\"},{\"validatorId\":\"local-remote-precedence-safe\",\"level\":\"warning\",\"code\":\"PO005\",\"description\":\"Explicit [nodes] or dataSource.data take precedence over dataSource.resourcePath.\"},{\"validatorId\":\"editor-round-trip-preserve\",\"level\":\"error\",\"code\":\"PO006\",\"description\":\"PraxisOrganogramWidgetConfigEditor must preserve layout, hierarchy, appearance, icons, rules, actions, quickView and mapping fields across save and reopen.\"},{\"validatorId\":\"skin-value-supported\",\"level\":\"error\",\"code\":\"PO007\",\"description\":\"Appearance skin, cardShape, accentPosition and connectorStyle values must match supported organogram contracts.\"},{\"validatorId\":\"style-value-safe\",\"level\":\"warning\",\"code\":\"PO008\",\"description\":\"Appearance tokens, lineColor, canvasBackground, gridDotColor and toneColors must be safe for host CSS sanitization policy.\"},{\"validatorId\":\"occupancy-thresholds-valid\",\"level\":\"error\",\"code\":\"PO009\",\"description\":\"rules.occupancyColoring thresholds must satisfy 0 <= lowThresholdPercent < highThresholdPercent <= 100 and warningThresholdPercent between low and high.\"}]}",
|
|
13452
13693
|
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13453
|
-
"contentHash": "
|
|
13694
|
+
"contentHash": "814315bd94840e44dedfa8a7e70b25b92f44382f1bd21cd228aac3a382648081",
|
|
13454
13695
|
"sourceKind": "component_definition",
|
|
13455
13696
|
"sourceId": "praxis-organogram",
|
|
13456
13697
|
"corpusVersion": "1.0.0"
|
|
13457
13698
|
},
|
|
13458
13699
|
{
|
|
13459
13700
|
"chunkIndex": 20,
|
|
13701
|
+
"chunkKind": "authoring_manifest",
|
|
13702
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"roundTripRequirements\",\"roundTripRequirements\":[\"PraxisOrganogramWidgetConfigEditor must preserve layout.topology, layout.direction, layout.initialExpandDepth, layout.showLegend and compactLeafStackThreshold without data loss.\",\"PraxisOrganogramWidgetConfigEditor must preserve local dataSource.data alongside dataSource.resourcePath.\",\"PraxisOrganogramWidgetConfigEditor must preserve appearance, skin, icons, rules (including occupancyColoring thresholds), diff, actions and quickView fields without data loss.\",\"Polymorphic variant visibility toggles must round-trip cleanly via layout.showNodeVariantPills.\"]}",
|
|
13703
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13704
|
+
"contentHash": "8df621733fa08b0ba666b0e55d94e09228e98a850b5515f7bfc35f56eee9e2be",
|
|
13705
|
+
"sourceKind": "component_definition",
|
|
13706
|
+
"sourceId": "praxis-organogram",
|
|
13707
|
+
"corpusVersion": "1.0.0"
|
|
13708
|
+
},
|
|
13709
|
+
{
|
|
13710
|
+
"chunkIndex": 21,
|
|
13711
|
+
"chunkKind": "authoring_manifest",
|
|
13712
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-organogram\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisOrganogramConfig\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"set-organogram-title\",\"request\":\"Rename the organogram title to Estrutura de Governança.\",\"operationId\":\"organogram.title.set\",\"params\":{\"title\":\"Estrutura de Governança\"},\"isPositive\":true},{\"id\":\"switch-to-pillars-topology\",\"request\":\"Switch the organogram layout to numbered executive pillars.\",\"operationId\":\"organogram.topology.set\",\"params\":{\"topology\":\"pillars\"},\"isPositive\":true},{\"id\":\"switch-to-left-to-right-direction\",\"request\":\"Arrange the orthogonal organogram from left to right.\",\"operationId\":\"organogram.direction.set\",\"params\":{\"direction\":\"LR\"},\"isPositive\":true},{\"id\":\"switch-to-radial-360-topology\",\"request\":\"Display the organizational chart in radial 360 constellation view.\",\"operationId\":\"organogram.topology.set\",\"params\":{\"topology\":\"radial-360\"},\"isPositive\":true},{\"id\":\"hide-polymorphic-pills\",\"request\":\"Hide leader and quota pills under organization unit cards.\",\"operationId\":\"organogram.pills.toggle\",\"params\":{\"showNodeVariantPills\":false},\"isPositive\":true},{\"id\":\"configure-organogram-depth-and-legend\",\"request\":\"Expand only the first 2 hierarchy tiers initially and show the command status legend.\",\"operationId\":\"organogram.layout.configure\",\"params\":{\"initialExpandDepth\":2,\"showLegend\":true},\"isPositive\":true},{\"id\":\"configure-organogram-hierarchy-options\",\"request\":\"Show extinct units using parent hierarchy type 1 under Instituição Matriz.\",\"operationId\":\"organogram.hierarchy.configure\",\"params\":{\"hierarchyType\":1,\"includeExtinct\":true,\"rootScopeLabel\":\"Instituição Matriz\"},\"isPositive\":true},{\"id\":\"bind-organogram-resource\",\"request\":\"Load organization units from administracao-pessoal/organograma-unidades.\",\"operationId\":\"organogram.data.resource.bind\",\"params\":{\"resourcePath\":\"administracao-pessoal/organograma-unidades\"},\"isPositive\":true},{\"id\":\"configure-organogram-appearance\",\"request\":\"Use flat skin with left-accent sharp cards, dashed connectors and hide canvas grid.\",\"operationId\":\"organogram.appearance.configure\",\"params\":{\"skin\":\"flat\",\"cardShape\":\"sharp\",\"accentPosition\":\"left\",\"connectorStyle\":\"dashed\",\"showCanvasGrid\":false},\"isPositive\":true},{\"id\":\"configure-organogram-icons\",\"request\":\"Use building-2 for organization units and workspace_premium for active leaders.\",\"operationId\":\"organogram.icons.configure\",\"params\":{\"unit\":\"building-2\",\"leader\":\"workspace_premium\",\"statusIconMap\":{\"VACANT_LEADER\":\"gpp_bad\"}},\"isPositive\":true},{\"id\":\"configure-organogram-occupancy-coloring\",\"request\":\"Highlight units by command and occupancy criticality with 45% low and 92% target thresholds.\",\"operationId\":\"organogram.rules.occupancyColoring.configure\",\"params\":{\"enabled\":true,\"mode\":\"criticality\",\"lowThresholdPercent\":45,\"warningThresholdPercent\":70,\"highThresholdPercent\":92,\"overQuotaDanger\":true,\"intensity\":\"strong\"},\"isPositive\":true},{\"id\":\"configure-organogram-diff\",\"request\":\"Enable temporal snapshot diff comparing 2026-10 against 2026-01 showing changes only.\",\"operationId\":\"organogram.diff.configure\",\"params\":{\"enabled\":true,\"referenceDateLabel\":\"2026-10\",\"comparisonDateLabel\":\"2026-01\",\"changesOnly\":true},\"isPositive\":true},{\"id\":\"reject-unsupported-topology\",\"request\":\"Switch the organogram topology to isometric-3d.\",\"operationId\":\"organogram.topology.set\",\"params\":{\"topology\":\"isometric-3d\"},\"isPositive\":false}]}",
|
|
13713
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-organogram-authoring-manifest.ts",
|
|
13714
|
+
"contentHash": "7b8ff8abb374487188e4a15009376a513393b1e9c133be118339f3d4f83e3e53",
|
|
13715
|
+
"sourceKind": "component_definition",
|
|
13716
|
+
"sourceId": "praxis-organogram",
|
|
13717
|
+
"corpusVersion": "1.0.0"
|
|
13718
|
+
},
|
|
13719
|
+
{
|
|
13720
|
+
"chunkIndex": 22,
|
|
13460
13721
|
"chunkKind": "context_pack",
|
|
13461
13722
|
"content": "{\"componentContext\":{\"version\":\"v1\",\"optionsByPath\":{\"layout.topology\":{\"mode\":\"enum\",\"options\":[{\"value\":\"orthogonal-compact\",\"label\":\"Ortogonal compacto\"},{\"value\":\"pillars\",\"label\":\"Pilares executivos\"},{\"value\":\"curved-hub\",\"label\":\"Mapa curvo bilateral\"},{\"value\":\"radial-360\",\"label\":\"Constelação orbital 360°\"}]},\"layout.direction\":{\"mode\":\"enum\",\"options\":[{\"value\":\"TB\",\"label\":\"Vertical (Topo para baixo)\"},{\"value\":\"LR\",\"label\":\"Horizontal (Esquerda para direita)\"}]},\"hierarchy.hierarchyType\":{\"mode\":\"enum\",\"options\":[{\"value\":0,\"label\":\"Hierarquia institucional padrão (0)\"},{\"value\":1,\"label\":\"Hierarquia alternativa 1\"},{\"value\":2,\"label\":\"Hierarquia alternativa 2\"},{\"value\":3,\"label\":\"Hierarquia alternativa 3\"},{\"value\":4,\"label\":\"Hierarquia alternativa 4\"}]},\"appearance.skin\":{\"mode\":\"enum\",\"options\":[{\"value\":\"elevated\",\"label\":\"Elevado (Padrão)\"},{\"value\":\"outline\",\"label\":\"Contorno (Outline)\"},{\"value\":\"flat\",\"label\":\"Plano (Flat)\"},{\"value\":\"glass\",\"label\":\"Vidro (Glass)\"},{\"value\":\"custom\",\"label\":\"Customizado por tokens CSS\"}]},\"appearance.cardShape\":{\"mode\":\"enum\",\"options\":[{\"value\":\"rounded\",\"label\":\"Arredondado\"},{\"value\":\"soft\",\"label\":\"Suave\"},{\"value\":\"sharp\",\"label\":\"Reto (Sharp)\"},{\"value\":\"pill\",\"label\":\"Cápsula\"},{\"value\":\"left-accent\",\"label\":\"Destaque lateral\"},{\"value\":\"outline\",\"label\":\"Contorno\"},{\"value\":\"glass\",\"label\":\"Vidro\"},{\"value\":\"flat\",\"label\":\"Plano\"}]},\"appearance.accentPosition\":{\"mode\":\"enum\",\"options\":[{\"value\":\"top\",\"label\":\"Superior\"},{\"value\":\"left\",\"label\":\"Lateral esquerda\"},{\"value\":\"full\",\"label\":\"Contorno completo\"},{\"value\":\"none\",\"label\":\"Sem destaque\"}]},\"appearance.connectorStyle\":{\"mode\":\"enum\",\"options\":[{\"value\":\"solid\",\"label\":\"Contínuo (Solid)\"},{\"value\":\"dashed\",\"label\":\"Tracejado (Dashed)\"},{\"value\":\"dotted\",\"label\":\"Pontilhado (Dotted)\"}]}},\"actionCatalog\":[{\"id\":\"layout.topology.orthogonal\",\"intentExamples\":[\"ortogonal\",\"árvore hierárquica\",\"orthogonal\"],\"patchTemplate\":{\"layout\":{\"topology\":\"orthogonal-compact\"}}},{\"id\":\"layout.topology.pillars\",\"intentExamples\":[\"pilares\",\"colunas executivas\",\"pillars\"],\"patchTemplate\":{\"layout\":{\"topology\":\"pillars\"}}},{\"id\":\"layout.topology.curvedHub\",\"intentExamples\":[\"mapa curvo\",\"hub curvo\",\"curved hub\"],\"patchTemplate\":{\"layout\":{\"topology\":\"curved-hub\"}}},{\"id\":\"layout.topology.radial360\",\"intentExamples\":[\"radial\",\"orbital 360\",\"radial-360\"],\"patchTemplate\":{\"layout\":{\"topology\":\"radial-360\"}}},{\"id\":\"layout.direction.set\",\"intentExamples\":[\"direção vertical\",\"direção horizontal\",\"direction TB LR\"],\"patchTemplate\":{\"layout\":{\"direction\":\"{{value}}\"}}},{\"id\":\"layout.pills.enable\",\"intentExamples\":[\"mostrar lideranças e vagas\",\"exibir pílulas polimórficas\"],\"patchTemplate\":{\"layout\":{\"showNodeVariantPills\":true}}},{\"id\":\"layout.pills.disable\",\"intentExamples\":[\"ocultar lideranças\",\"somente unidades organizacionais\"],\"patchTemplate\":{\"layout\":{\"showNodeVariantPills\":false}}},{\"id\":\"hierarchy.includeExtinct.enable\",\"intentExamples\":[\"incluir setores extintos\",\"mostrar unidades inativas\"],\"patchTemplate\":{\"hierarchy\":{\"includeExtinct\":true}}},{\"id\":\"hierarchy.includeExtinct.disable\",\"intentExamples\":[\"ocultar setores extintos\",\"somente unidades ativas\"],\"patchTemplate\":{\"hierarchy\":{\"includeExtinct\":false}}},{\"id\":\"appearance.skin.set\",\"intentExamples\":[\"estilo glass\",\"modo outline\",\"skin flat\",\"aparência elevada\"],\"patchTemplate\":{\"appearance\":{\"skin\":\"{{value}}\"}}},{\"id\":\"appearance.cardShape.set\",\"intentExamples\":[\"cartão quadrado\",\"formato pill\",\"borda lateral\",\"cardShape sharp\"],\"patchTemplate\":{\"appearance\":{\"cardShape\":\"{{value}}\"}}},{\"id\":\"appearance.connectorStyle.set\",\"intentExamples\":[\"conectores tracejados\",\"linha pontilhada\",\"conector sólido\"],\"patchTemplate\":{\"appearance\":{\"connectorStyle\":\"{{value}}\"}}},{\"id\":\"icons.configure\",\"intentExamples\":[\"alterar ícones das unidades\",\"ícone de liderança e vagas\"],\"patchTemplate\":{\"icons\":{\"unit\":\"{{unit}}\",\"leader\":\"{{leader}}\",\"quota\":\"{{quota}}\"}}}],\"fieldResolvers\":{\"dataSource.resourcePath\":[],\"mapping.codeField\":[],\"mapping.parentIdField\":[],\"mapping.titleField\":[],\"mapping.leaderNameField\":[]},\"hints\":[\"Use layout.topology=orthogonal-compact para inspeção hierárquica profunda com recolhimento por nível e empilhamento vertical de folhas.\",\"Use layout.topology=radial-360 para visão orbital centrada na raiz institucional ou na subárvore filtrada; o badge +N foca a subárvore no centro.\",\"Use mapping.* para adaptar DTOs arbitrários sem transformar o payload no cliente.\",\"Ative hierarchy.synthesizeLeaderNodes e hierarchy.synthesizeQuotaNodes junto com layout.showNodeVariantPills para exibir pílulas de chefia e radar de vacância.\",\"Prefira dataSource.resourcePath para carga remota via GenericCrudService; dataSource.data sobrescreve a consulta remota.\"]}}",
|
|
13462
13723
|
"sourcePointer": "projects/praxis-list/src/lib/ai/organogram-context-pack.ts",
|
|
@@ -13466,7 +13727,7 @@
|
|
|
13466
13727
|
"corpusVersion": "1.0.0"
|
|
13467
13728
|
},
|
|
13468
13729
|
{
|
|
13469
|
-
"chunkIndex":
|
|
13730
|
+
"chunkIndex": 23,
|
|
13470
13731
|
"chunkKind": "recipe",
|
|
13471
13732
|
"content": "{\"_comment\":\"Receita base canônica para o Praxis Organogram baseada em PraxisOrganogramConfig.\",\"templateMeta\":{\"registryKey\":\"praxis-organogram\",\"variantId\":\"base\",\"useWhen\":\"Hierarchical organizational structure with command governance status, polymorphic leader/vacancy pills, multi-topology switching and 360 quick-view bindings.\",\"examplePrompts\":[\"create an interactive institutional organogram with leader and vacancy pills\",\"configure a radial-360 organizational chart with subtree filtering\"]},\"config\":{\"id\":\"organograma-institucional\",\"title\":\"Estrutura Organizacional e Governança de Comando\",\"subtitle\":\"Hierarquia corporativa com chefias, interinos e ocupação de vagas\",\"dataSource\":{\"resourcePath\":\"/api/human-resources/vw-organograma-setor\",\"sort\":[\"nivelHierarquico,asc\",\"siglaSetor,asc\"]},\"layout\":{\"topology\":\"orthogonal-compact\",\"direction\":\"TB\",\"compactLeafStackThreshold\":3,\"initialExpandDepth\":2,\"showToolbar\":true,\"showTopologySwitcher\":true,\"showSearch\":true,\"showZoomControls\":true,\"showNodeVariantPills\":true,\"showLegend\":true},\"appearance\":{\"skin\":\"elevated\",\"cardShape\":\"rounded\",\"accentPosition\":\"top\",\"connectorStyle\":\"solid\",\"showCanvasGrid\":true,\"statusToneMap\":{\"NORMAL\":\"success\",\"SUBSTITUTE_ACTIVE\":\"warning\",\"VACANT_LEADER\":\"danger\",\"OVER_QUOTA\":\"danger\"}},\"icons\":{\"unit\":\"corporate_fare\",\"rootScope\":\"domain\",\"leader\":\"workspace_premium\",\"substitute\":\"badge\",\"vacantLeader\":\"person_off\",\"quota\":\"groups\",\"statusIconMap\":{\"VACANT_LEADER\":\"person_off\",\"OVER_QUOTA\":\"warning\"}},\"hierarchy\":{\"hierarchyType\":0,\"includeExtinct\":false,\"rootScopeLabel\":\"Organização\",\"rootScopeIcon\":\"domain\",\"synthesizeLeaderNodes\":true,\"synthesizeQuotaNodes\":true},\"mapping\":{\"idField\":\"id\",\"codeField\":\"code\",\"parentIdField\":\"parentId\",\"pathField\":\"hierarchyPath\",\"levelField\":\"level\",\"titleField\":\"title\",\"siglaField\":\"shortCode\",\"typeLabelField\":\"typeLabel\",\"commandStatusField\":\"commandStatus\",\"leaderNameField\":\"leaderName\",\"substituteNameField\":\"substituteName\",\"leaderRoleField\":\"leaderRole\",\"authorizedCountField\":\"authorizedCount\",\"occupiedCountField\":\"occupiedCount\"}}}",
|
|
13472
13733
|
"sourcePointer": "examples/ai-recipes/praxis-organogram.json",
|
|
@@ -13477,6 +13738,1965 @@
|
|
|
13477
13738
|
}
|
|
13478
13739
|
]
|
|
13479
13740
|
},
|
|
13741
|
+
"praxis-relationship-graph": {
|
|
13742
|
+
"id": "praxis-relationship-graph",
|
|
13743
|
+
"description": "Componente governado para visualização e inspeção de grafos heterogêneos (DAG multi-pai, ciclos, ego-radial e force-spring) com evidência não-cromática (observed, contextual, inferred), proveniência numerada, destaque de caminho e tabela sincronizada.",
|
|
13744
|
+
"inputs": [
|
|
13745
|
+
{
|
|
13746
|
+
"name": "graphId",
|
|
13747
|
+
"type": "string",
|
|
13748
|
+
"required": false,
|
|
13749
|
+
"description": "Identificador estável para persistência e composição."
|
|
13750
|
+
},
|
|
13751
|
+
{
|
|
13752
|
+
"name": "componentInstanceId",
|
|
13753
|
+
"type": "string",
|
|
13754
|
+
"required": false,
|
|
13755
|
+
"description": "Identificador de instância em composições multi-grafo."
|
|
13756
|
+
},
|
|
13757
|
+
{
|
|
13758
|
+
"name": "configPersistenceStrategy",
|
|
13759
|
+
"type": "'local-first' | 'input-first' | 'volatile'",
|
|
13760
|
+
"required": false,
|
|
13761
|
+
"description": "Estratégia de persistência de configuração."
|
|
13762
|
+
},
|
|
13763
|
+
{
|
|
13764
|
+
"name": "enableCustomization",
|
|
13765
|
+
"type": "boolean",
|
|
13766
|
+
"required": false,
|
|
13767
|
+
"description": "Exibe botão para abrir o editor frameless de configurações."
|
|
13768
|
+
},
|
|
13769
|
+
{
|
|
13770
|
+
"name": "config",
|
|
13771
|
+
"type": "PraxisRelationshipGraphConfig",
|
|
13772
|
+
"required": false,
|
|
13773
|
+
"description": "Configuração declarativa completa do grafo."
|
|
13774
|
+
},
|
|
13775
|
+
{
|
|
13776
|
+
"name": "dataset",
|
|
13777
|
+
"type": "PraxisRelationshipGraphDataset | Record<string, unknown> | null",
|
|
13778
|
+
"required": false,
|
|
13779
|
+
"description": "Envelope inline contendo nodes, edges/links, groups, sources e verdict."
|
|
13780
|
+
},
|
|
13781
|
+
{
|
|
13782
|
+
"name": "nodes",
|
|
13783
|
+
"type": "Array<Record<string, unknown> | PraxisRelationshipGraphNode> | null",
|
|
13784
|
+
"required": false,
|
|
13785
|
+
"description": "Lista explícita de nós."
|
|
13786
|
+
},
|
|
13787
|
+
{
|
|
13788
|
+
"name": "edges",
|
|
13789
|
+
"type": "Array<Record<string, unknown> | PraxisRelationshipGraphEdge> | null",
|
|
13790
|
+
"required": false,
|
|
13791
|
+
"description": "Lista explícita de arestas."
|
|
13792
|
+
},
|
|
13793
|
+
{
|
|
13794
|
+
"name": "links",
|
|
13795
|
+
"type": "Array<Record<string, unknown> | PraxisRelationshipGraphEdge> | null",
|
|
13796
|
+
"required": false,
|
|
13797
|
+
"description": "Alias compatível para links[] (alinhado ao contrato Sankey)."
|
|
13798
|
+
},
|
|
13799
|
+
{
|
|
13800
|
+
"name": "resourcePath",
|
|
13801
|
+
"type": "string | null",
|
|
13802
|
+
"required": false,
|
|
13803
|
+
"description": "Endpoint REST governado para carregar o payload do grafo."
|
|
13804
|
+
},
|
|
13805
|
+
{
|
|
13806
|
+
"name": "endpointKey",
|
|
13807
|
+
"type": "ApiEndpoint",
|
|
13808
|
+
"required": false,
|
|
13809
|
+
"description": "Chave lógica do endpoint em API_URL para resolução multi-backend."
|
|
13810
|
+
},
|
|
13811
|
+
{
|
|
13812
|
+
"name": "apiUrlEntry",
|
|
13813
|
+
"type": "ApiUrlEntry | null",
|
|
13814
|
+
"required": false,
|
|
13815
|
+
"description": "Origem explícita de API quando instanciado fora do injector da rota."
|
|
13816
|
+
},
|
|
13817
|
+
{
|
|
13818
|
+
"name": "queryContext",
|
|
13819
|
+
"type": "PraxisDataQueryContext | null",
|
|
13820
|
+
"required": false,
|
|
13821
|
+
"description": "Contexto reativo de filtros vindo da página ou filtro externo."
|
|
13822
|
+
},
|
|
13823
|
+
{
|
|
13824
|
+
"name": "algorithm",
|
|
13825
|
+
"type": "'layered-dag' | 'ego-radial' | 'force-spring' | null",
|
|
13826
|
+
"required": false,
|
|
13827
|
+
"description": "Sobrescrita direta do algoritmo de layout."
|
|
13828
|
+
},
|
|
13829
|
+
{
|
|
13830
|
+
"name": "orientation",
|
|
13831
|
+
"type": "'LR' | 'TB' | null",
|
|
13832
|
+
"required": false,
|
|
13833
|
+
"description": "Direção do layout layered-dag."
|
|
13834
|
+
},
|
|
13835
|
+
{
|
|
13836
|
+
"name": "anchorNodeId",
|
|
13837
|
+
"type": "string | null",
|
|
13838
|
+
"required": false,
|
|
13839
|
+
"description": "Nó central para modo ego-radial ou expansão por profundidade."
|
|
13840
|
+
},
|
|
13841
|
+
{
|
|
13842
|
+
"name": "maxDepth",
|
|
13843
|
+
"type": "number | null",
|
|
13844
|
+
"required": false,
|
|
13845
|
+
"description": "Profundidade máxima para anéis ego-radiais."
|
|
13846
|
+
},
|
|
13847
|
+
{
|
|
13848
|
+
"name": "nodeShape",
|
|
13849
|
+
"type": "'circle' | 'card' | 'pill' | 'diamond' | null",
|
|
13850
|
+
"required": false,
|
|
13851
|
+
"description": "Formato visual padrão dos nós."
|
|
13852
|
+
},
|
|
13853
|
+
{
|
|
13854
|
+
"name": "expandDepth",
|
|
13855
|
+
"type": "number | null",
|
|
13856
|
+
"required": false,
|
|
13857
|
+
"description": "Limite inicial de saltos exibidos antes de expandir vizinhos (+N)."
|
|
13858
|
+
},
|
|
13859
|
+
{
|
|
13860
|
+
"name": "pathHighlight",
|
|
13861
|
+
"type": "PraxisRelationshipGraphPathHighlight | null",
|
|
13862
|
+
"required": false,
|
|
13863
|
+
"description": "Caminho ou alcance N-hops destacado no subgrafo."
|
|
13864
|
+
}
|
|
13865
|
+
],
|
|
13866
|
+
"outputs": [
|
|
13867
|
+
{
|
|
13868
|
+
"name": "nodeSelect",
|
|
13869
|
+
"type": "PraxisRelationshipGraphNodeEvent",
|
|
13870
|
+
"required": false,
|
|
13871
|
+
"description": "Emitido ao selecionar nó ou cluster."
|
|
13872
|
+
},
|
|
13873
|
+
{
|
|
13874
|
+
"name": "edgeSelect",
|
|
13875
|
+
"type": "PraxisRelationshipGraphEdgeEvent",
|
|
13876
|
+
"required": false,
|
|
13877
|
+
"description": "Emitido ao selecionar aresta no grafo ou tabela."
|
|
13878
|
+
},
|
|
13879
|
+
{
|
|
13880
|
+
"name": "pathHighlightChange",
|
|
13881
|
+
"type": "PraxisRelationshipGraphPathHighlightEvent",
|
|
13882
|
+
"required": false,
|
|
13883
|
+
"description": "Emitido quando o destaque de caminho ou alcance N-hops muda."
|
|
13884
|
+
},
|
|
13885
|
+
{
|
|
13886
|
+
"name": "actionClick",
|
|
13887
|
+
"type": "PraxisRelationshipGraphActionEvent",
|
|
13888
|
+
"required": false,
|
|
13889
|
+
"description": "Emitido ao executar ação governada em nó ou aresta."
|
|
13890
|
+
},
|
|
13891
|
+
{
|
|
13892
|
+
"name": "queryContextChange",
|
|
13893
|
+
"type": "PraxisDataQueryContext",
|
|
13894
|
+
"required": false,
|
|
13895
|
+
"description": "Emitido ao atualizar filtros de consulta."
|
|
13896
|
+
},
|
|
13897
|
+
{
|
|
13898
|
+
"name": "configPatchChange",
|
|
13899
|
+
"type": "Partial<PraxisRelationshipGraphConfig>",
|
|
13900
|
+
"required": false,
|
|
13901
|
+
"description": "Emitido ao aplicar/salvar alterações do editor."
|
|
13902
|
+
},
|
|
13903
|
+
{
|
|
13904
|
+
"name": "expandNodeRequest",
|
|
13905
|
+
"type": "{ nodeId: string; depth: number }",
|
|
13906
|
+
"required": false,
|
|
13907
|
+
"description": "Solicita expansão incremental de vizinhança para um nó."
|
|
13908
|
+
}
|
|
13909
|
+
],
|
|
13910
|
+
"configSchemaId": null,
|
|
13911
|
+
"selector": "praxis-relationship-graph",
|
|
13912
|
+
"friendlyName": "Grafo de Relacionamentos",
|
|
13913
|
+
"icon": "hub",
|
|
13914
|
+
"tags": [
|
|
13915
|
+
"graph",
|
|
13916
|
+
"relationship",
|
|
13917
|
+
"network",
|
|
13918
|
+
"dag",
|
|
13919
|
+
"provenance",
|
|
13920
|
+
"evidence",
|
|
13921
|
+
"security-graph",
|
|
13922
|
+
"investigation"
|
|
13923
|
+
],
|
|
13924
|
+
"lib": "@praxisui/list",
|
|
13925
|
+
"layoutHints": {
|
|
13926
|
+
"recommendedCols": 12,
|
|
13927
|
+
"recommendedRows": 6,
|
|
13928
|
+
"minCols": 4,
|
|
13929
|
+
"minRows": 4
|
|
13930
|
+
},
|
|
13931
|
+
"actions": [
|
|
13932
|
+
{
|
|
13933
|
+
"id": "component-settings",
|
|
13934
|
+
"label": "Configurar Grafo",
|
|
13935
|
+
"icon": "tune",
|
|
13936
|
+
"description": "Abre o editor frameless do Grafo de Relacionamentos.",
|
|
13937
|
+
"scope": "shell"
|
|
13938
|
+
}
|
|
13939
|
+
],
|
|
13940
|
+
"ports": [
|
|
13941
|
+
{
|
|
13942
|
+
"id": "config",
|
|
13943
|
+
"label": "Configuração do Grafo",
|
|
13944
|
+
"direction": "input",
|
|
13945
|
+
"semanticKind": "config-fragment",
|
|
13946
|
+
"cardinality": "one",
|
|
13947
|
+
"schema": {
|
|
13948
|
+
"id": "PraxisRelationshipGraphConfig",
|
|
13949
|
+
"kind": "ts-type",
|
|
13950
|
+
"ref": "@praxisui/list#PraxisRelationshipGraphConfig"
|
|
13951
|
+
},
|
|
13952
|
+
"exposure": {
|
|
13953
|
+
"public": true,
|
|
13954
|
+
"group": "configuration"
|
|
13955
|
+
}
|
|
13956
|
+
},
|
|
13957
|
+
{
|
|
13958
|
+
"id": "dataset",
|
|
13959
|
+
"label": "Dataset de Nós e Arestas",
|
|
13960
|
+
"direction": "input",
|
|
13961
|
+
"semanticKind": "collection",
|
|
13962
|
+
"cardinality": "one",
|
|
13963
|
+
"schema": {
|
|
13964
|
+
"id": "PraxisRelationshipGraphDataset",
|
|
13965
|
+
"kind": "ts-type",
|
|
13966
|
+
"ref": "@praxisui/list#PraxisRelationshipGraphDataset"
|
|
13967
|
+
},
|
|
13968
|
+
"exposure": {
|
|
13969
|
+
"public": true,
|
|
13970
|
+
"group": "data"
|
|
13971
|
+
}
|
|
13972
|
+
},
|
|
13973
|
+
{
|
|
13974
|
+
"id": "queryContext",
|
|
13975
|
+
"label": "Contexto de Consulta",
|
|
13976
|
+
"direction": "input",
|
|
13977
|
+
"semanticKind": "query-context",
|
|
13978
|
+
"cardinality": "one",
|
|
13979
|
+
"schema": {
|
|
13980
|
+
"id": "PraxisDataQueryContext",
|
|
13981
|
+
"kind": "ts-type",
|
|
13982
|
+
"ref": "@praxisui/core#PraxisDataQueryContext"
|
|
13983
|
+
},
|
|
13984
|
+
"exposure": {
|
|
13985
|
+
"public": true,
|
|
13986
|
+
"group": "data"
|
|
13987
|
+
}
|
|
13988
|
+
},
|
|
13989
|
+
{
|
|
13990
|
+
"id": "pathHighlight",
|
|
13991
|
+
"label": "Subgrafo / Caminho em Foco",
|
|
13992
|
+
"direction": "input",
|
|
13993
|
+
"semanticKind": "selection",
|
|
13994
|
+
"cardinality": "one",
|
|
13995
|
+
"schema": {
|
|
13996
|
+
"id": "PraxisRelationshipGraphPathHighlight",
|
|
13997
|
+
"kind": "ts-type",
|
|
13998
|
+
"ref": "@praxisui/list#PraxisRelationshipGraphPathHighlight"
|
|
13999
|
+
},
|
|
14000
|
+
"exposure": {
|
|
14001
|
+
"public": true,
|
|
14002
|
+
"group": "navigation"
|
|
14003
|
+
}
|
|
14004
|
+
},
|
|
14005
|
+
{
|
|
14006
|
+
"id": "nodeSelect",
|
|
14007
|
+
"label": "Nó Selecionado",
|
|
14008
|
+
"direction": "output",
|
|
14009
|
+
"semanticKind": "selection",
|
|
14010
|
+
"cardinality": "stream",
|
|
14011
|
+
"schema": {
|
|
14012
|
+
"id": "PraxisRelationshipGraphNodeEvent",
|
|
14013
|
+
"kind": "ts-type",
|
|
14014
|
+
"ref": "@praxisui/list#PraxisRelationshipGraphNodeEvent"
|
|
14015
|
+
},
|
|
14016
|
+
"exposure": {
|
|
14017
|
+
"public": true,
|
|
14018
|
+
"group": "events"
|
|
14019
|
+
}
|
|
14020
|
+
},
|
|
14021
|
+
{
|
|
14022
|
+
"id": "edgeSelect",
|
|
14023
|
+
"label": "Aresta Selecionada",
|
|
14024
|
+
"direction": "output",
|
|
14025
|
+
"semanticKind": "selection",
|
|
14026
|
+
"cardinality": "stream",
|
|
14027
|
+
"schema": {
|
|
14028
|
+
"id": "PraxisRelationshipGraphEdgeEvent",
|
|
14029
|
+
"kind": "ts-type",
|
|
14030
|
+
"ref": "@praxisui/list#PraxisRelationshipGraphEdgeEvent"
|
|
14031
|
+
},
|
|
14032
|
+
"exposure": {
|
|
14033
|
+
"public": true,
|
|
14034
|
+
"group": "events"
|
|
14035
|
+
}
|
|
14036
|
+
},
|
|
14037
|
+
{
|
|
14038
|
+
"id": "pathHighlightChange",
|
|
14039
|
+
"label": "Alteração de Caminho em Foco",
|
|
14040
|
+
"direction": "output",
|
|
14041
|
+
"semanticKind": "selection",
|
|
14042
|
+
"cardinality": "stream",
|
|
14043
|
+
"schema": {
|
|
14044
|
+
"id": "PraxisRelationshipGraphPathHighlightEvent",
|
|
14045
|
+
"kind": "ts-type",
|
|
14046
|
+
"ref": "@praxisui/list#PraxisRelationshipGraphPathHighlightEvent"
|
|
14047
|
+
},
|
|
14048
|
+
"exposure": {
|
|
14049
|
+
"public": true,
|
|
14050
|
+
"group": "events"
|
|
14051
|
+
}
|
|
14052
|
+
},
|
|
14053
|
+
{
|
|
14054
|
+
"id": "actionClick",
|
|
14055
|
+
"label": "Ação Executada",
|
|
14056
|
+
"direction": "output",
|
|
14057
|
+
"semanticKind": "command",
|
|
14058
|
+
"cardinality": "stream",
|
|
14059
|
+
"schema": {
|
|
14060
|
+
"id": "PraxisRelationshipGraphActionEvent",
|
|
14061
|
+
"kind": "ts-type",
|
|
14062
|
+
"ref": "@praxisui/list#PraxisRelationshipGraphActionEvent"
|
|
14063
|
+
},
|
|
14064
|
+
"exposure": {
|
|
14065
|
+
"public": true,
|
|
14066
|
+
"group": "events"
|
|
14067
|
+
}
|
|
14068
|
+
},
|
|
14069
|
+
{
|
|
14070
|
+
"id": "queryContextChange",
|
|
14071
|
+
"label": "Contexto de Consulta Atualizado",
|
|
14072
|
+
"direction": "output",
|
|
14073
|
+
"semanticKind": "query-context",
|
|
14074
|
+
"cardinality": "stream",
|
|
14075
|
+
"schema": {
|
|
14076
|
+
"id": "PraxisDataQueryContext",
|
|
14077
|
+
"kind": "ts-type",
|
|
14078
|
+
"ref": "@praxisui/core#PraxisDataQueryContext"
|
|
14079
|
+
},
|
|
14080
|
+
"exposure": {
|
|
14081
|
+
"public": true,
|
|
14082
|
+
"group": "data"
|
|
14083
|
+
}
|
|
14084
|
+
}
|
|
14085
|
+
],
|
|
14086
|
+
"runtimeProfiles": [
|
|
14087
|
+
{
|
|
14088
|
+
"id": "public-local-volatile",
|
|
14089
|
+
"description": "Renderização local e efêmera sem chamadas remotas nem ações customizadas.",
|
|
14090
|
+
"audience": "public-untrusted",
|
|
14091
|
+
"constraints": [
|
|
14092
|
+
{
|
|
14093
|
+
"path": "resourcePath",
|
|
14094
|
+
"operator": "absent-or-empty"
|
|
14095
|
+
},
|
|
14096
|
+
{
|
|
14097
|
+
"path": "config.dataSource.resourcePath",
|
|
14098
|
+
"operator": "absent-or-empty"
|
|
14099
|
+
},
|
|
14100
|
+
{
|
|
14101
|
+
"path": "config.dataSource.expandResourcePath",
|
|
14102
|
+
"operator": "absent-or-empty"
|
|
14103
|
+
},
|
|
14104
|
+
{
|
|
14105
|
+
"path": "configPersistenceStrategy",
|
|
14106
|
+
"operator": "equals",
|
|
14107
|
+
"value": "volatile"
|
|
14108
|
+
},
|
|
14109
|
+
{
|
|
14110
|
+
"path": "enableCustomization",
|
|
14111
|
+
"operator": "not-true"
|
|
14112
|
+
},
|
|
14113
|
+
{
|
|
14114
|
+
"path": "config.actions",
|
|
14115
|
+
"operator": "empty-array-or-absent"
|
|
14116
|
+
},
|
|
14117
|
+
{
|
|
14118
|
+
"path": "config.verdict.document",
|
|
14119
|
+
"operator": "absent-or-empty"
|
|
14120
|
+
}
|
|
14121
|
+
],
|
|
14122
|
+
"effects": []
|
|
14123
|
+
},
|
|
14124
|
+
{
|
|
14125
|
+
"id": "public-resource-read",
|
|
14126
|
+
"description": "Leitura remota de grafo via resourcePath em config.dataSource (POST /filter com fallback GET /all).",
|
|
14127
|
+
"audience": "public-untrusted",
|
|
14128
|
+
"constraints": [
|
|
14129
|
+
{
|
|
14130
|
+
"path": "dataset",
|
|
14131
|
+
"operator": "absent-or-empty"
|
|
14132
|
+
},
|
|
14133
|
+
{
|
|
14134
|
+
"path": "nodes",
|
|
14135
|
+
"operator": "empty-array-or-absent"
|
|
14136
|
+
},
|
|
14137
|
+
{
|
|
14138
|
+
"path": "config.dataSource.data",
|
|
14139
|
+
"operator": "absent-or-empty"
|
|
14140
|
+
},
|
|
14141
|
+
{
|
|
14142
|
+
"path": "config.dataSource.resourcePath",
|
|
14143
|
+
"operator": "present"
|
|
14144
|
+
},
|
|
14145
|
+
{
|
|
14146
|
+
"path": "resourcePath",
|
|
14147
|
+
"operator": "absent-or-empty"
|
|
14148
|
+
},
|
|
14149
|
+
{
|
|
14150
|
+
"path": "configPersistenceStrategy",
|
|
14151
|
+
"operator": "equals",
|
|
14152
|
+
"value": "volatile"
|
|
14153
|
+
},
|
|
14154
|
+
{
|
|
14155
|
+
"path": "enableCustomization",
|
|
14156
|
+
"operator": "not-true"
|
|
14157
|
+
},
|
|
14158
|
+
{
|
|
14159
|
+
"path": "config.actions",
|
|
14160
|
+
"operator": "empty-array-or-absent"
|
|
14161
|
+
},
|
|
14162
|
+
{
|
|
14163
|
+
"path": "config.verdict.document",
|
|
14164
|
+
"operator": "absent-or-empty"
|
|
14165
|
+
}
|
|
14166
|
+
],
|
|
14167
|
+
"effects": [
|
|
14168
|
+
{
|
|
14169
|
+
"kind": "resource-read",
|
|
14170
|
+
"resourcePath": "config.dataSource.resourcePath",
|
|
14171
|
+
"operations": [
|
|
14172
|
+
{
|
|
14173
|
+
"operationId": "filter",
|
|
14174
|
+
"method": "POST",
|
|
14175
|
+
"pathSuffix": "filter",
|
|
14176
|
+
"role": "primary",
|
|
14177
|
+
"queryContext": {
|
|
14178
|
+
"portId": "queryContext",
|
|
14179
|
+
"requestFieldPath": "$"
|
|
14180
|
+
}
|
|
14181
|
+
},
|
|
14182
|
+
{
|
|
14183
|
+
"operationId": "all",
|
|
14184
|
+
"method": "GET",
|
|
14185
|
+
"pathSuffix": "all",
|
|
14186
|
+
"role": "fallback"
|
|
14187
|
+
}
|
|
14188
|
+
]
|
|
14189
|
+
}
|
|
14190
|
+
]
|
|
14191
|
+
},
|
|
14192
|
+
{
|
|
14193
|
+
"id": "public-resource-read-input",
|
|
14194
|
+
"description": "Leitura remota de grafo via input direto resourcePath (POST /filter com fallback GET /all).",
|
|
14195
|
+
"audience": "public-untrusted",
|
|
14196
|
+
"constraints": [
|
|
14197
|
+
{
|
|
14198
|
+
"path": "dataset",
|
|
14199
|
+
"operator": "absent-or-empty"
|
|
14200
|
+
},
|
|
14201
|
+
{
|
|
14202
|
+
"path": "nodes",
|
|
14203
|
+
"operator": "empty-array-or-absent"
|
|
14204
|
+
},
|
|
14205
|
+
{
|
|
14206
|
+
"path": "config.dataSource.data",
|
|
14207
|
+
"operator": "absent-or-empty"
|
|
14208
|
+
},
|
|
14209
|
+
{
|
|
14210
|
+
"path": "config.dataSource.resourcePath",
|
|
14211
|
+
"operator": "absent-or-empty"
|
|
14212
|
+
},
|
|
14213
|
+
{
|
|
14214
|
+
"path": "resourcePath",
|
|
14215
|
+
"operator": "present"
|
|
14216
|
+
},
|
|
14217
|
+
{
|
|
14218
|
+
"path": "configPersistenceStrategy",
|
|
14219
|
+
"operator": "equals",
|
|
14220
|
+
"value": "volatile"
|
|
14221
|
+
},
|
|
14222
|
+
{
|
|
14223
|
+
"path": "enableCustomization",
|
|
14224
|
+
"operator": "not-true"
|
|
14225
|
+
},
|
|
14226
|
+
{
|
|
14227
|
+
"path": "config.actions",
|
|
14228
|
+
"operator": "empty-array-or-absent"
|
|
14229
|
+
},
|
|
14230
|
+
{
|
|
14231
|
+
"path": "config.verdict.document",
|
|
14232
|
+
"operator": "absent-or-empty"
|
|
14233
|
+
}
|
|
14234
|
+
],
|
|
14235
|
+
"effects": [
|
|
14236
|
+
{
|
|
14237
|
+
"kind": "resource-read",
|
|
14238
|
+
"resourcePath": "resourcePath",
|
|
14239
|
+
"operations": [
|
|
14240
|
+
{
|
|
14241
|
+
"operationId": "filter",
|
|
14242
|
+
"method": "POST",
|
|
14243
|
+
"pathSuffix": "filter",
|
|
14244
|
+
"role": "primary",
|
|
14245
|
+
"queryContext": {
|
|
14246
|
+
"portId": "queryContext",
|
|
14247
|
+
"requestFieldPath": "$"
|
|
14248
|
+
}
|
|
14249
|
+
},
|
|
14250
|
+
{
|
|
14251
|
+
"operationId": "all",
|
|
14252
|
+
"method": "GET",
|
|
14253
|
+
"pathSuffix": "all",
|
|
14254
|
+
"role": "fallback"
|
|
14255
|
+
}
|
|
14256
|
+
]
|
|
14257
|
+
}
|
|
14258
|
+
]
|
|
14259
|
+
}
|
|
14260
|
+
],
|
|
14261
|
+
"configEditor": {
|
|
14262
|
+
"title": "Configurar Grafo de Relacionamentos"
|
|
14263
|
+
},
|
|
14264
|
+
"authoringManifestRef": {
|
|
14265
|
+
"componentId": "praxis-relationship-graph",
|
|
14266
|
+
"version": "1.0.0",
|
|
14267
|
+
"source": "@praxisui/list"
|
|
14268
|
+
},
|
|
14269
|
+
"insertionPresets": [
|
|
14270
|
+
{
|
|
14271
|
+
"id": "relationship-graph-attack-dag",
|
|
14272
|
+
"label": "Fluxo de Impacto / Attack Graph (LR)",
|
|
14273
|
+
"description": "Grafo em camadas esquerda → direita com nós circulares, evidência não-cromática, fontes numeradas e tabela sincronizada.",
|
|
14274
|
+
"icon": "hub",
|
|
14275
|
+
"inputs": {
|
|
14276
|
+
"config": {
|
|
14277
|
+
"title": "Grafo de Relacionamentos e Evidências",
|
|
14278
|
+
"layout": {
|
|
14279
|
+
"algorithm": "layered-dag",
|
|
14280
|
+
"orientation": "LR",
|
|
14281
|
+
"nodeShape": "circle",
|
|
14282
|
+
"defaultViewMode": "graph",
|
|
14283
|
+
"showToolbar": true,
|
|
14284
|
+
"showFilters": true,
|
|
14285
|
+
"showLegend": true,
|
|
14286
|
+
"showTableToggle": true,
|
|
14287
|
+
"showInspector": true,
|
|
14288
|
+
"showZoomControls": true,
|
|
14289
|
+
"showCanvasGrid": true
|
|
14290
|
+
},
|
|
14291
|
+
"appearance": {
|
|
14292
|
+
"skin": "elevated"
|
|
14293
|
+
}
|
|
14294
|
+
}
|
|
14295
|
+
}
|
|
14296
|
+
},
|
|
14297
|
+
{
|
|
14298
|
+
"id": "relationship-graph-ego-split",
|
|
14299
|
+
"label": "Exploração Ego-Radial + Tabela (Split)",
|
|
14300
|
+
"description": "Anéis concêntricos de N-saltos a partir de um nó âncora combinados com tabela semântica bidirecional.",
|
|
14301
|
+
"icon": "adjust",
|
|
14302
|
+
"inputs": {
|
|
14303
|
+
"config": {
|
|
14304
|
+
"title": "Vizinhança Ego-Radial e Auditoria",
|
|
14305
|
+
"layout": {
|
|
14306
|
+
"algorithm": "ego-radial",
|
|
14307
|
+
"maxDepth": 2,
|
|
14308
|
+
"nodeShape": "card",
|
|
14309
|
+
"defaultViewMode": "split",
|
|
14310
|
+
"showToolbar": true,
|
|
14311
|
+
"showFilters": true,
|
|
14312
|
+
"showLegend": true,
|
|
14313
|
+
"showTableToggle": true,
|
|
14314
|
+
"showInspector": true
|
|
14315
|
+
},
|
|
14316
|
+
"appearance": {
|
|
14317
|
+
"skin": "elevated"
|
|
14318
|
+
}
|
|
14319
|
+
}
|
|
14320
|
+
}
|
|
14321
|
+
}
|
|
14322
|
+
],
|
|
14323
|
+
"source": "projects/praxis-list/src/lib/praxis-relationship-graph.metadata.ts",
|
|
14324
|
+
"exportName": "PRAXIS_RELATIONSHIP_GRAPH_COMPONENT_METADATA",
|
|
14325
|
+
"componentCapabilities": [
|
|
14326
|
+
{
|
|
14327
|
+
"path": "id",
|
|
14328
|
+
"category": "identity",
|
|
14329
|
+
"valueKind": "string",
|
|
14330
|
+
"description": "Identificador estável da configuração do grafo de relacionamentos.",
|
|
14331
|
+
"example": "investigation-graph"
|
|
14332
|
+
},
|
|
14333
|
+
{
|
|
14334
|
+
"path": "title",
|
|
14335
|
+
"category": "appearance",
|
|
14336
|
+
"valueKind": "string",
|
|
14337
|
+
"description": "Título exibido no cabeçalho do grafo.",
|
|
14338
|
+
"example": "Mapa de Relacionamentos e Evidências"
|
|
14339
|
+
},
|
|
14340
|
+
{
|
|
14341
|
+
"path": "subtitle",
|
|
14342
|
+
"category": "appearance",
|
|
14343
|
+
"valueKind": "string",
|
|
14344
|
+
"description": "Subtítulo explicativo abaixo do título do grafo.",
|
|
14345
|
+
"example": "Cadeia causal, contexto declarado e fontes auditáveis"
|
|
14346
|
+
},
|
|
14347
|
+
{
|
|
14348
|
+
"path": "verdict",
|
|
14349
|
+
"category": "appearance",
|
|
14350
|
+
"valueKind": "object",
|
|
14351
|
+
"description": "Bloco narrativo de veredito acima do grafo (title, summary, tone ou rich document)."
|
|
14352
|
+
},
|
|
14353
|
+
{
|
|
14354
|
+
"path": "verdict.summary",
|
|
14355
|
+
"category": "appearance",
|
|
14356
|
+
"valueKind": "string",
|
|
14357
|
+
"description": "Resumo narrativo do veredito exibido no banner superior."
|
|
14358
|
+
},
|
|
14359
|
+
{
|
|
14360
|
+
"path": "verdict.tone",
|
|
14361
|
+
"category": "appearance",
|
|
14362
|
+
"valueKind": "enum",
|
|
14363
|
+
"allowedValues": [
|
|
14364
|
+
"neutral",
|
|
14365
|
+
"primary",
|
|
14366
|
+
"info",
|
|
14367
|
+
"success",
|
|
14368
|
+
"warning",
|
|
14369
|
+
"danger",
|
|
14370
|
+
"violet"
|
|
14371
|
+
],
|
|
14372
|
+
"description": "Tom semântico do bloco de veredito."
|
|
14373
|
+
},
|
|
14374
|
+
{
|
|
14375
|
+
"path": "dataSource.resourcePath",
|
|
14376
|
+
"category": "data",
|
|
14377
|
+
"valueKind": "string",
|
|
14378
|
+
"description": "Endpoint REST para carregamento remoto do grafo via GenericCrudService.",
|
|
14379
|
+
"example": "/api/v1/relationships/graph",
|
|
14380
|
+
"safetyNotes": "Requer autorização explícita no perfil remoto da aplicação hospedeira."
|
|
14381
|
+
},
|
|
14382
|
+
{
|
|
14383
|
+
"path": "dataSource.expandResourcePath",
|
|
14384
|
+
"category": "data",
|
|
14385
|
+
"valueKind": "string",
|
|
14386
|
+
"description": "Endpoint opcional para expansão incremental de vizinhança sob demanda (+N)."
|
|
14387
|
+
},
|
|
14388
|
+
{
|
|
14389
|
+
"path": "mapping.nodesPath",
|
|
14390
|
+
"category": "data",
|
|
14391
|
+
"valueKind": "string",
|
|
14392
|
+
"description": "Caminho dot-path da coleção de nós dentro de payloads arbitrários.",
|
|
14393
|
+
"example": "nodes"
|
|
14394
|
+
},
|
|
14395
|
+
{
|
|
14396
|
+
"path": "mapping.edgesPath",
|
|
14397
|
+
"category": "data",
|
|
14398
|
+
"valueKind": "string",
|
|
14399
|
+
"description": "Caminho dot-path da coleção de arestas ou links dentro de payloads arbitrários.",
|
|
14400
|
+
"example": "edges"
|
|
14401
|
+
},
|
|
14402
|
+
{
|
|
14403
|
+
"path": "mapping.node",
|
|
14404
|
+
"category": "data",
|
|
14405
|
+
"valueKind": "object",
|
|
14406
|
+
"description": "Mapeamento declarativo dos campos de nó (idField, typeField, labelField, groupIdField, sourceRefsField)."
|
|
14407
|
+
},
|
|
14408
|
+
{
|
|
14409
|
+
"path": "mapping.edge",
|
|
14410
|
+
"category": "data",
|
|
14411
|
+
"valueKind": "object",
|
|
14412
|
+
"description": "Mapeamento declarativo dos campos de aresta (sourceField, targetField, relationField, evidenceField, sourceRefsField)."
|
|
14413
|
+
},
|
|
14414
|
+
{
|
|
14415
|
+
"path": "taxonomy.nodeTypes",
|
|
14416
|
+
"category": "appearance",
|
|
14417
|
+
"valueKind": "object",
|
|
14418
|
+
"description": "Dicionário de rótulos, ícones, tons e formatos por tipo de nó."
|
|
14419
|
+
},
|
|
14420
|
+
{
|
|
14421
|
+
"path": "taxonomy.relationTypes",
|
|
14422
|
+
"category": "appearance",
|
|
14423
|
+
"valueKind": "object",
|
|
14424
|
+
"description": "Dicionário de rótulos, tons e evidência padrão por relação de aresta."
|
|
14425
|
+
},
|
|
14426
|
+
{
|
|
14427
|
+
"path": "taxonomy.evidenceTypes",
|
|
14428
|
+
"category": "appearance",
|
|
14429
|
+
"valueKind": "object",
|
|
14430
|
+
"description": "Rótulos e ícones customizados para observed, contextual e inferred."
|
|
14431
|
+
},
|
|
14432
|
+
{
|
|
14433
|
+
"path": "layout.algorithm",
|
|
14434
|
+
"category": "layout",
|
|
14435
|
+
"valueKind": "enum",
|
|
14436
|
+
"allowedValues": [
|
|
14437
|
+
"layered-dag",
|
|
14438
|
+
"ego-radial",
|
|
14439
|
+
"force-spring"
|
|
14440
|
+
],
|
|
14441
|
+
"description": "Algoritmo determinístico de layout do grafo.",
|
|
14442
|
+
"intentExamples": [
|
|
14443
|
+
"Alterar o grafo para visualização ego-radial",
|
|
14444
|
+
"Usar layout em camadas DAG"
|
|
14445
|
+
]
|
|
14446
|
+
},
|
|
14447
|
+
{
|
|
14448
|
+
"path": "layout.orientation",
|
|
14449
|
+
"category": "layout",
|
|
14450
|
+
"valueKind": "enum",
|
|
14451
|
+
"allowedValues": [
|
|
14452
|
+
"LR",
|
|
14453
|
+
"TB"
|
|
14454
|
+
],
|
|
14455
|
+
"dependsOn": "layout.algorithm",
|
|
14456
|
+
"description": "Direção principal do fluxo em layered-dag (LR = esquerda para direita, TB = topo para base)."
|
|
14457
|
+
},
|
|
14458
|
+
{
|
|
14459
|
+
"path": "layout.anchorNodeId",
|
|
14460
|
+
"category": "layout",
|
|
14461
|
+
"valueKind": "string",
|
|
14462
|
+
"description": "ID do nó âncora utilizado pelo modo ego-radial ou expansão por profundidade."
|
|
14463
|
+
},
|
|
14464
|
+
{
|
|
14465
|
+
"path": "layout.maxDepth",
|
|
14466
|
+
"category": "layout",
|
|
14467
|
+
"valueKind": "number",
|
|
14468
|
+
"description": "Quantidade máxima de saltos visíveis nos anéis do layout ego-radial."
|
|
14469
|
+
},
|
|
14470
|
+
{
|
|
14471
|
+
"path": "layout.nodeShape",
|
|
14472
|
+
"category": "appearance",
|
|
14473
|
+
"valueKind": "enum",
|
|
14474
|
+
"allowedValues": [
|
|
14475
|
+
"circle",
|
|
14476
|
+
"card",
|
|
14477
|
+
"pill",
|
|
14478
|
+
"diamond"
|
|
14479
|
+
],
|
|
14480
|
+
"description": "Formato visual padrão dos nós no canvas."
|
|
14481
|
+
},
|
|
14482
|
+
{
|
|
14483
|
+
"path": "layout.expandDepth",
|
|
14484
|
+
"category": "behavior",
|
|
14485
|
+
"valueKind": "number",
|
|
14486
|
+
"description": "Limite inicial de saltos antes de recolher vizinhos excedentes atrás de botões +N."
|
|
14487
|
+
},
|
|
14488
|
+
{
|
|
14489
|
+
"path": "layout.collapseGroupsByDefault",
|
|
14490
|
+
"category": "behavior",
|
|
14491
|
+
"valueKind": "boolean",
|
|
14492
|
+
"description": "Define se clusters/grupos declarados iniciam recolhidos."
|
|
14493
|
+
},
|
|
14494
|
+
{
|
|
14495
|
+
"path": "layout.defaultViewMode",
|
|
14496
|
+
"category": "layout",
|
|
14497
|
+
"valueKind": "enum",
|
|
14498
|
+
"allowedValues": [
|
|
14499
|
+
"graph",
|
|
14500
|
+
"split",
|
|
14501
|
+
"table"
|
|
14502
|
+
],
|
|
14503
|
+
"description": "Modo de exibição inicial: apenas grafo, dividido (grafo + tabela) ou apenas tabela.",
|
|
14504
|
+
"intentExamples": [
|
|
14505
|
+
"Mostrar grafo e tabela sincronizada lado a lado"
|
|
14506
|
+
]
|
|
14507
|
+
},
|
|
14508
|
+
{
|
|
14509
|
+
"path": "layout.showToolbar",
|
|
14510
|
+
"category": "appearance",
|
|
14511
|
+
"valueKind": "boolean",
|
|
14512
|
+
"description": "Exibe a barra flutuante de troca de layout, legenda, tela cheia e zoom."
|
|
14513
|
+
},
|
|
14514
|
+
{
|
|
14515
|
+
"path": "layout.showFilters",
|
|
14516
|
+
"category": "behavior",
|
|
14517
|
+
"valueKind": "boolean",
|
|
14518
|
+
"description": "Exibe a barra superior de filtros por nó, relação, evidência e busca."
|
|
14519
|
+
},
|
|
14520
|
+
{
|
|
14521
|
+
"path": "layout.showLegend",
|
|
14522
|
+
"category": "appearance",
|
|
14523
|
+
"valueKind": "boolean",
|
|
14524
|
+
"description": "Exibe a legenda recolhível com totais de nós, arestas e codificação não-cromática de evidência."
|
|
14525
|
+
},
|
|
14526
|
+
{
|
|
14527
|
+
"path": "layout.showTableToggle",
|
|
14528
|
+
"category": "behavior",
|
|
14529
|
+
"valueKind": "boolean",
|
|
14530
|
+
"description": "Permite alternar entre visualização em grafo, dividida ou tabular."
|
|
14531
|
+
},
|
|
14532
|
+
{
|
|
14533
|
+
"path": "layout.showInspector",
|
|
14534
|
+
"category": "behavior",
|
|
14535
|
+
"valueKind": "boolean",
|
|
14536
|
+
"description": "Habilita o painel de inspeção ao selecionar nó, aresta ou fonte."
|
|
14537
|
+
},
|
|
14538
|
+
{
|
|
14539
|
+
"path": "layout.showZoomControls",
|
|
14540
|
+
"category": "behavior",
|
|
14541
|
+
"valueKind": "boolean",
|
|
14542
|
+
"description": "Exibe os botões e slider de zoom no rail lateral."
|
|
14543
|
+
},
|
|
14544
|
+
{
|
|
14545
|
+
"path": "layout.showCanvasGrid",
|
|
14546
|
+
"category": "appearance",
|
|
14547
|
+
"valueKind": "boolean",
|
|
14548
|
+
"description": "Exibe grade pontilhada sutil no fundo do canvas."
|
|
14549
|
+
},
|
|
14550
|
+
{
|
|
14551
|
+
"path": "appearance.skin",
|
|
14552
|
+
"category": "appearance",
|
|
14553
|
+
"valueKind": "enum",
|
|
14554
|
+
"allowedValues": [
|
|
14555
|
+
"elevated",
|
|
14556
|
+
"outline",
|
|
14557
|
+
"flat",
|
|
14558
|
+
"glass",
|
|
14559
|
+
"custom"
|
|
14560
|
+
],
|
|
14561
|
+
"description": "Skin visual de superfície do container."
|
|
14562
|
+
},
|
|
14563
|
+
{
|
|
14564
|
+
"path": "rules.nodeStyles[]",
|
|
14565
|
+
"category": "behavior",
|
|
14566
|
+
"valueKind": "array",
|
|
14567
|
+
"description": "Regras JSON Logic condicionais para adaptar tom, ícone, formato ou badge de nós."
|
|
14568
|
+
},
|
|
14569
|
+
{
|
|
14570
|
+
"path": "rules.edgeStyles[]",
|
|
14571
|
+
"category": "behavior",
|
|
14572
|
+
"valueKind": "array",
|
|
14573
|
+
"description": "Regras JSON Logic condicionais para destacar ou alterar arestas."
|
|
14574
|
+
},
|
|
14575
|
+
{
|
|
14576
|
+
"path": "actions[]",
|
|
14577
|
+
"category": "behavior",
|
|
14578
|
+
"valueKind": "array",
|
|
14579
|
+
"description": "Ações governadas por nó/aresta com HATEOAS _links, visibleWhen/disabledWhen, QuickView ou GlobalAction."
|
|
14580
|
+
},
|
|
14581
|
+
{
|
|
14582
|
+
"path": "groups[]",
|
|
14583
|
+
"category": "layout",
|
|
14584
|
+
"valueKind": "array",
|
|
14585
|
+
"description": "Clusters/grupos recolhíveis de nós para escalabilidade em grafos densos."
|
|
14586
|
+
},
|
|
14587
|
+
{
|
|
14588
|
+
"path": "sources[]",
|
|
14589
|
+
"category": "data",
|
|
14590
|
+
"valueKind": "array",
|
|
14591
|
+
"description": "Fontes de proveniência numeradas citadas pelas arestas, nós e rodapé."
|
|
14592
|
+
}
|
|
14593
|
+
],
|
|
14594
|
+
"componentCapabilityNotes": [
|
|
14595
|
+
"Evidências devem usar codificação não-cromática obrigatória (observed=sólido, contextual=tracejado, inferred=pontilhado) acompanhada de ícones e legenda explícita.",
|
|
14596
|
+
"O editor widget de configurações deve permanecer estritamente frameless para uso no @praxisui/settings-panel.",
|
|
14597
|
+
"A tabela sincronizada reflete exatamente os filtros e a seleção de arestas/nós sem duplicar estado divergente."
|
|
14598
|
+
],
|
|
14599
|
+
"componentContext": {
|
|
14600
|
+
"version": "1.0.0",
|
|
14601
|
+
"optionsByPath": {
|
|
14602
|
+
"layout.algorithm": {
|
|
14603
|
+
"mode": "enum",
|
|
14604
|
+
"options": [
|
|
14605
|
+
{
|
|
14606
|
+
"value": "layered-dag",
|
|
14607
|
+
"label": "Camadas (Sugiyama DAG)"
|
|
14608
|
+
},
|
|
14609
|
+
{
|
|
14610
|
+
"value": "ego-radial",
|
|
14611
|
+
"label": "Ego-Radial (N-saltos)"
|
|
14612
|
+
},
|
|
14613
|
+
{
|
|
14614
|
+
"value": "force-spring",
|
|
14615
|
+
"label": "Force-Spring Determinístico"
|
|
14616
|
+
}
|
|
14617
|
+
]
|
|
14618
|
+
},
|
|
14619
|
+
"layout.orientation": {
|
|
14620
|
+
"mode": "enum",
|
|
14621
|
+
"options": [
|
|
14622
|
+
{
|
|
14623
|
+
"value": "LR",
|
|
14624
|
+
"label": "Esquerda → Direita"
|
|
14625
|
+
},
|
|
14626
|
+
{
|
|
14627
|
+
"value": "TB",
|
|
14628
|
+
"label": "Topo → Base"
|
|
14629
|
+
}
|
|
14630
|
+
]
|
|
14631
|
+
},
|
|
14632
|
+
"layout.nodeShape": {
|
|
14633
|
+
"mode": "enum",
|
|
14634
|
+
"options": [
|
|
14635
|
+
{
|
|
14636
|
+
"value": "circle",
|
|
14637
|
+
"label": "Emblema Circular + Legenda Inferior"
|
|
14638
|
+
},
|
|
14639
|
+
{
|
|
14640
|
+
"value": "card",
|
|
14641
|
+
"label": "Card Completo com Badges"
|
|
14642
|
+
},
|
|
14643
|
+
{
|
|
14644
|
+
"value": "pill",
|
|
14645
|
+
"label": "Pílula Compacta"
|
|
14646
|
+
},
|
|
14647
|
+
{
|
|
14648
|
+
"value": "diamond",
|
|
14649
|
+
"label": "Losango / Decisão"
|
|
14650
|
+
}
|
|
14651
|
+
]
|
|
14652
|
+
},
|
|
14653
|
+
"layout.defaultViewMode": {
|
|
14654
|
+
"mode": "enum",
|
|
14655
|
+
"options": [
|
|
14656
|
+
{
|
|
14657
|
+
"value": "graph",
|
|
14658
|
+
"label": "Somente Grafo"
|
|
14659
|
+
},
|
|
14660
|
+
{
|
|
14661
|
+
"value": "split",
|
|
14662
|
+
"label": "Grafo + Tabela Sincronizada"
|
|
14663
|
+
},
|
|
14664
|
+
{
|
|
14665
|
+
"value": "table",
|
|
14666
|
+
"label": "Somente Tabela"
|
|
14667
|
+
}
|
|
14668
|
+
]
|
|
14669
|
+
},
|
|
14670
|
+
"appearance.skin": {
|
|
14671
|
+
"mode": "enum",
|
|
14672
|
+
"options": [
|
|
14673
|
+
{
|
|
14674
|
+
"value": "elevated",
|
|
14675
|
+
"label": "Elevado (Padrão Praxis)"
|
|
14676
|
+
},
|
|
14677
|
+
{
|
|
14678
|
+
"value": "outline",
|
|
14679
|
+
"label": "Contorno Limpo"
|
|
14680
|
+
},
|
|
14681
|
+
{
|
|
14682
|
+
"value": "flat",
|
|
14683
|
+
"label": "Plano"
|
|
14684
|
+
},
|
|
14685
|
+
{
|
|
14686
|
+
"value": "glass",
|
|
14687
|
+
"label": "Translúcido"
|
|
14688
|
+
}
|
|
14689
|
+
]
|
|
14690
|
+
},
|
|
14691
|
+
"actions[].scope": {
|
|
14692
|
+
"mode": "enum",
|
|
14693
|
+
"options": [
|
|
14694
|
+
{
|
|
14695
|
+
"value": "node",
|
|
14696
|
+
"label": "Somente Nó"
|
|
14697
|
+
},
|
|
14698
|
+
{
|
|
14699
|
+
"value": "edge",
|
|
14700
|
+
"label": "Somente Aresta"
|
|
14701
|
+
},
|
|
14702
|
+
{
|
|
14703
|
+
"value": "both",
|
|
14704
|
+
"label": "Nó e Aresta"
|
|
14705
|
+
}
|
|
14706
|
+
]
|
|
14707
|
+
}
|
|
14708
|
+
},
|
|
14709
|
+
"actionCatalog": [
|
|
14710
|
+
{
|
|
14711
|
+
"id": "set-relationship-graph-layout",
|
|
14712
|
+
"intentExamples": [
|
|
14713
|
+
"Mudar o grafo para layout ego-radial",
|
|
14714
|
+
"Exibir o grafo de cima para baixo (TB)",
|
|
14715
|
+
"Usar formato circular nos nós como no Attack Graph"
|
|
14716
|
+
],
|
|
14717
|
+
"operation": "update",
|
|
14718
|
+
"requiresExistingTarget": false,
|
|
14719
|
+
"scope": "GLOBAL",
|
|
14720
|
+
"valueType": "OBJECT",
|
|
14721
|
+
"patchTemplate": {
|
|
14722
|
+
"layout": {
|
|
14723
|
+
"algorithm": "{{params.algorithm}}",
|
|
14724
|
+
"orientation": "{{params.orientation}}",
|
|
14725
|
+
"nodeShape": "{{params.nodeShape}}"
|
|
14726
|
+
}
|
|
14727
|
+
},
|
|
14728
|
+
"params": [
|
|
14729
|
+
{
|
|
14730
|
+
"name": "algorithm",
|
|
14731
|
+
"type": "ENUM",
|
|
14732
|
+
"options": [
|
|
14733
|
+
"layered-dag",
|
|
14734
|
+
"ego-radial",
|
|
14735
|
+
"force-spring"
|
|
14736
|
+
],
|
|
14737
|
+
"description": "Algoritmo determinístico de layout."
|
|
14738
|
+
},
|
|
14739
|
+
{
|
|
14740
|
+
"name": "orientation",
|
|
14741
|
+
"type": "ENUM",
|
|
14742
|
+
"options": [
|
|
14743
|
+
"LR",
|
|
14744
|
+
"TB"
|
|
14745
|
+
],
|
|
14746
|
+
"description": "Direção para layered-dag."
|
|
14747
|
+
},
|
|
14748
|
+
{
|
|
14749
|
+
"name": "nodeShape",
|
|
14750
|
+
"type": "ENUM",
|
|
14751
|
+
"options": [
|
|
14752
|
+
"circle",
|
|
14753
|
+
"card",
|
|
14754
|
+
"pill",
|
|
14755
|
+
"diamond"
|
|
14756
|
+
],
|
|
14757
|
+
"description": "Formato padrão dos nós."
|
|
14758
|
+
}
|
|
14759
|
+
]
|
|
14760
|
+
},
|
|
14761
|
+
{
|
|
14762
|
+
"id": "set-relationship-graph-view-mode",
|
|
14763
|
+
"intentExamples": [
|
|
14764
|
+
"Abrir visualização dividida com grafo e tabela sincronizada",
|
|
14765
|
+
"Mostrar a tabela auditável junto ao grafo"
|
|
14766
|
+
],
|
|
14767
|
+
"operation": "update",
|
|
14768
|
+
"requiresExistingTarget": false,
|
|
14769
|
+
"scope": "GLOBAL",
|
|
14770
|
+
"valueType": "ENUM",
|
|
14771
|
+
"defaultValue": "split",
|
|
14772
|
+
"patchTemplate": {
|
|
14773
|
+
"layout": {
|
|
14774
|
+
"defaultViewMode": "{{params.defaultViewMode}}",
|
|
14775
|
+
"showTableToggle": true
|
|
14776
|
+
}
|
|
14777
|
+
},
|
|
14778
|
+
"params": [
|
|
14779
|
+
{
|
|
14780
|
+
"name": "defaultViewMode",
|
|
14781
|
+
"type": "ENUM",
|
|
14782
|
+
"options": [
|
|
14783
|
+
"graph",
|
|
14784
|
+
"split",
|
|
14785
|
+
"table"
|
|
14786
|
+
],
|
|
14787
|
+
"description": "Modo de visualização inicial."
|
|
14788
|
+
}
|
|
14789
|
+
]
|
|
14790
|
+
},
|
|
14791
|
+
{
|
|
14792
|
+
"id": "add-relationship-graph-node-style-rule",
|
|
14793
|
+
"intentExamples": [
|
|
14794
|
+
"Destacar em vermelho nós cujo risco seja crítico via JSON Logic"
|
|
14795
|
+
],
|
|
14796
|
+
"operation": "create",
|
|
14797
|
+
"requiresExistingTarget": false,
|
|
14798
|
+
"scope": "GLOBAL",
|
|
14799
|
+
"valueType": "OBJECT",
|
|
14800
|
+
"patchTemplate": {
|
|
14801
|
+
"rules": {
|
|
14802
|
+
"nodeStyles": [
|
|
14803
|
+
{
|
|
14804
|
+
"id": "{{params.id}}",
|
|
14805
|
+
"label": "{{params.label}}",
|
|
14806
|
+
"tone": "{{params.tone}}",
|
|
14807
|
+
"condition": "{{params.condition}}"
|
|
14808
|
+
}
|
|
14809
|
+
]
|
|
14810
|
+
}
|
|
14811
|
+
},
|
|
14812
|
+
"params": [
|
|
14813
|
+
{
|
|
14814
|
+
"name": "id",
|
|
14815
|
+
"type": "STRING",
|
|
14816
|
+
"description": "Identificador único da regra."
|
|
14817
|
+
},
|
|
14818
|
+
{
|
|
14819
|
+
"name": "label",
|
|
14820
|
+
"type": "STRING",
|
|
14821
|
+
"description": "Descrição legível da regra."
|
|
14822
|
+
},
|
|
14823
|
+
{
|
|
14824
|
+
"name": "tone",
|
|
14825
|
+
"type": "ENUM",
|
|
14826
|
+
"options": [
|
|
14827
|
+
"neutral",
|
|
14828
|
+
"primary",
|
|
14829
|
+
"info",
|
|
14830
|
+
"success",
|
|
14831
|
+
"warning",
|
|
14832
|
+
"danger",
|
|
14833
|
+
"violet"
|
|
14834
|
+
],
|
|
14835
|
+
"description": "Tom aplicado aos nós compatíveis."
|
|
14836
|
+
}
|
|
14837
|
+
]
|
|
14838
|
+
}
|
|
14839
|
+
],
|
|
14840
|
+
"fieldResolvers": {
|
|
14841
|
+
"nodeFields": [
|
|
14842
|
+
"id",
|
|
14843
|
+
"type",
|
|
14844
|
+
"label",
|
|
14845
|
+
"subtitle",
|
|
14846
|
+
"status",
|
|
14847
|
+
"groupId",
|
|
14848
|
+
"sourceRefs"
|
|
14849
|
+
],
|
|
14850
|
+
"edgeFields": [
|
|
14851
|
+
"id",
|
|
14852
|
+
"source",
|
|
14853
|
+
"target",
|
|
14854
|
+
"relation",
|
|
14855
|
+
"evidence",
|
|
14856
|
+
"confidence",
|
|
14857
|
+
"timestamp",
|
|
14858
|
+
"sourceRefs"
|
|
14859
|
+
]
|
|
14860
|
+
},
|
|
14861
|
+
"hints": [
|
|
14862
|
+
"Aceita tanto edges[] quanto links[] (alias compartilhado com gráficos de fluxo/Sankey) e mapeia tudo para NormalizedRelationshipEdge.",
|
|
14863
|
+
"Sempre preserve fontes numeradas (sources[] + sourceRefs[]) e evidenciação visual distinta (observed/contextual/inferred) nas recomendações."
|
|
14864
|
+
]
|
|
14865
|
+
},
|
|
14866
|
+
"authoringManifest": {
|
|
14867
|
+
"schemaVersion": "1.0.0",
|
|
14868
|
+
"componentId": "praxis-relationship-graph",
|
|
14869
|
+
"ownerPackage": "@praxisui/list",
|
|
14870
|
+
"configSchemaId": "PraxisRelationshipGraphConfig",
|
|
14871
|
+
"manifestVersion": "1.0.0",
|
|
14872
|
+
"runtimeInputs": [
|
|
14873
|
+
{
|
|
14874
|
+
"name": "config",
|
|
14875
|
+
"type": "PraxisRelationshipGraphConfig",
|
|
14876
|
+
"description": "Configuração governada completa do grafo de relacionamentos."
|
|
14877
|
+
},
|
|
14878
|
+
{
|
|
14879
|
+
"name": "dataset",
|
|
14880
|
+
"type": "PraxisRelationshipGraphDataset | Record<string, unknown> | null",
|
|
14881
|
+
"description": "Payload inline contendo nodes, edges/links, groups, sources e verdict."
|
|
14882
|
+
},
|
|
14883
|
+
{
|
|
14884
|
+
"name": "resourcePath",
|
|
14885
|
+
"type": "string | null",
|
|
14886
|
+
"description": "Endpoint REST governado para carregamento remoto."
|
|
14887
|
+
},
|
|
14888
|
+
{
|
|
14889
|
+
"name": "queryContext",
|
|
14890
|
+
"type": "PraxisDataQueryContext | null",
|
|
14891
|
+
"description": "Contexto de filtros reativo vindo da página."
|
|
14892
|
+
},
|
|
14893
|
+
{
|
|
14894
|
+
"name": "algorithm",
|
|
14895
|
+
"type": "'layered-dag' | 'ego-radial' | 'force-spring' | null",
|
|
14896
|
+
"description": "Algoritmo determinístico de layout.",
|
|
14897
|
+
"allowedValues": [
|
|
14898
|
+
"layered-dag",
|
|
14899
|
+
"ego-radial",
|
|
14900
|
+
"force-spring"
|
|
14901
|
+
]
|
|
14902
|
+
},
|
|
14903
|
+
{
|
|
14904
|
+
"name": "orientation",
|
|
14905
|
+
"type": "'LR' | 'TB' | null",
|
|
14906
|
+
"description": "Orientação do grafo layered-dag.",
|
|
14907
|
+
"allowedValues": [
|
|
14908
|
+
"LR",
|
|
14909
|
+
"TB"
|
|
14910
|
+
]
|
|
14911
|
+
},
|
|
14912
|
+
{
|
|
14913
|
+
"name": "nodeShape",
|
|
14914
|
+
"type": "'circle' | 'card' | 'pill' | 'diamond' | null",
|
|
14915
|
+
"description": "Formato padrão dos nós no canvas.",
|
|
14916
|
+
"allowedValues": [
|
|
14917
|
+
"circle",
|
|
14918
|
+
"card",
|
|
14919
|
+
"pill",
|
|
14920
|
+
"diamond"
|
|
14921
|
+
]
|
|
14922
|
+
},
|
|
14923
|
+
{
|
|
14924
|
+
"name": "pathHighlight",
|
|
14925
|
+
"type": "PraxisRelationshipGraphPathHighlight | null",
|
|
14926
|
+
"description": "Subgrafo ou alcance N-hops destacado."
|
|
14927
|
+
}
|
|
14928
|
+
],
|
|
14929
|
+
"editableTargets": [
|
|
14930
|
+
{
|
|
14931
|
+
"kind": "layout",
|
|
14932
|
+
"resolver": "appearance-config",
|
|
14933
|
+
"description": "Layout determinístico, orientação, formato padrão dos nós e modo de exibição do grafo.",
|
|
14934
|
+
"resolutionSpec": {
|
|
14935
|
+
"strategy": "root-path",
|
|
14936
|
+
"paths": [
|
|
14937
|
+
"layout",
|
|
14938
|
+
"$"
|
|
14939
|
+
],
|
|
14940
|
+
"allowIndex": false
|
|
14941
|
+
}
|
|
14942
|
+
},
|
|
14943
|
+
{
|
|
14944
|
+
"kind": "meta",
|
|
14945
|
+
"resolver": "meta-config",
|
|
14946
|
+
"description": "Título, subtítulo, veredito narrativo e skin visual no root da configuração.",
|
|
14947
|
+
"resolutionSpec": {
|
|
14948
|
+
"strategy": "root-path",
|
|
14949
|
+
"paths": [
|
|
14950
|
+
"$"
|
|
14951
|
+
],
|
|
14952
|
+
"allowIndex": false
|
|
14953
|
+
}
|
|
14954
|
+
},
|
|
14955
|
+
{
|
|
14956
|
+
"kind": "dataBinding",
|
|
14957
|
+
"resolver": "data-config",
|
|
14958
|
+
"description": "Endpoint remoto resourcePath, expandResourcePath e query em dataSource.",
|
|
14959
|
+
"resolutionSpec": {
|
|
14960
|
+
"strategy": "root-path",
|
|
14961
|
+
"paths": [
|
|
14962
|
+
"dataSource",
|
|
14963
|
+
"$"
|
|
14964
|
+
],
|
|
14965
|
+
"allowIndex": false
|
|
14966
|
+
}
|
|
14967
|
+
},
|
|
14968
|
+
{
|
|
14969
|
+
"kind": "nodeStyleRule",
|
|
14970
|
+
"resolver": "node-style-rule-by-id",
|
|
14971
|
+
"description": "Regra condicional JSON Logic de estilo de nós em rules.nodeStyles[].",
|
|
14972
|
+
"resolutionSpec": {
|
|
14973
|
+
"strategy": "array-match",
|
|
14974
|
+
"paths": [
|
|
14975
|
+
"rules.nodeStyles"
|
|
14976
|
+
],
|
|
14977
|
+
"matchFields": [
|
|
14978
|
+
"id"
|
|
14979
|
+
],
|
|
14980
|
+
"inputMatchFields": [
|
|
14981
|
+
"ruleId",
|
|
14982
|
+
"id"
|
|
14983
|
+
],
|
|
14984
|
+
"allowIndex": false
|
|
14985
|
+
}
|
|
14986
|
+
},
|
|
14987
|
+
{
|
|
14988
|
+
"kind": "graphAction",
|
|
14989
|
+
"resolver": "action-by-id",
|
|
14990
|
+
"description": "Ação governada por nó ou aresta configurada em actions[].",
|
|
14991
|
+
"resolutionSpec": {
|
|
14992
|
+
"strategy": "array-match",
|
|
14993
|
+
"paths": [
|
|
14994
|
+
"actions"
|
|
14995
|
+
],
|
|
14996
|
+
"matchFields": [
|
|
14997
|
+
"id"
|
|
14998
|
+
],
|
|
14999
|
+
"inputMatchFields": [
|
|
15000
|
+
"actionId",
|
|
15001
|
+
"id"
|
|
15002
|
+
],
|
|
15003
|
+
"allowIndex": false
|
|
15004
|
+
}
|
|
15005
|
+
}
|
|
15006
|
+
],
|
|
15007
|
+
"operations": [
|
|
15008
|
+
{
|
|
15009
|
+
"operationId": "update-graph-layout",
|
|
15010
|
+
"title": "Configurar layout, orientação e formato de nó",
|
|
15011
|
+
"description": "Atualiza algoritmo determinístico (layered-dag, ego-radial, force-spring), orientação (LR/TB), formato dos nós (circle/card/pill/diamond) e modo de visualização (graph/split/table).",
|
|
15012
|
+
"scope": "layout",
|
|
15013
|
+
"targetKind": "layout",
|
|
15014
|
+
"target": {
|
|
15015
|
+
"kind": "layout",
|
|
15016
|
+
"resolver": "appearance-config",
|
|
15017
|
+
"ambiguityPolicy": "fail",
|
|
15018
|
+
"required": false,
|
|
15019
|
+
"resolutionSpec": {
|
|
15020
|
+
"strategy": "root-path",
|
|
15021
|
+
"paths": [
|
|
15022
|
+
"layout",
|
|
15023
|
+
"$"
|
|
15024
|
+
],
|
|
15025
|
+
"allowIndex": false
|
|
15026
|
+
}
|
|
15027
|
+
},
|
|
15028
|
+
"inputSchema": {
|
|
15029
|
+
"type": "object",
|
|
15030
|
+
"properties": {
|
|
15031
|
+
"algorithm": {
|
|
15032
|
+
"type": "string",
|
|
15033
|
+
"enum": [
|
|
15034
|
+
"layered-dag",
|
|
15035
|
+
"ego-radial",
|
|
15036
|
+
"force-spring"
|
|
15037
|
+
]
|
|
15038
|
+
},
|
|
15039
|
+
"orientation": {
|
|
15040
|
+
"type": "string",
|
|
15041
|
+
"enum": [
|
|
15042
|
+
"LR",
|
|
15043
|
+
"TB"
|
|
15044
|
+
]
|
|
15045
|
+
},
|
|
15046
|
+
"anchorNodeId": {
|
|
15047
|
+
"type": "string"
|
|
15048
|
+
},
|
|
15049
|
+
"maxDepth": {
|
|
15050
|
+
"type": "number",
|
|
15051
|
+
"minimum": 1,
|
|
15052
|
+
"maximum": 12
|
|
15053
|
+
},
|
|
15054
|
+
"nodeShape": {
|
|
15055
|
+
"type": "string",
|
|
15056
|
+
"enum": [
|
|
15057
|
+
"circle",
|
|
15058
|
+
"card",
|
|
15059
|
+
"pill",
|
|
15060
|
+
"diamond"
|
|
15061
|
+
]
|
|
15062
|
+
},
|
|
15063
|
+
"defaultViewMode": {
|
|
15064
|
+
"type": "string",
|
|
15065
|
+
"enum": [
|
|
15066
|
+
"graph",
|
|
15067
|
+
"split",
|
|
15068
|
+
"table"
|
|
15069
|
+
]
|
|
15070
|
+
},
|
|
15071
|
+
"expandDepth": {
|
|
15072
|
+
"type": "number",
|
|
15073
|
+
"minimum": 1,
|
|
15074
|
+
"maximum": 10
|
|
15075
|
+
},
|
|
15076
|
+
"collapseGroupsByDefault": {
|
|
15077
|
+
"type": "boolean"
|
|
15078
|
+
},
|
|
15079
|
+
"showToolbar": {
|
|
15080
|
+
"type": "boolean"
|
|
15081
|
+
},
|
|
15082
|
+
"showFilters": {
|
|
15083
|
+
"type": "boolean"
|
|
15084
|
+
},
|
|
15085
|
+
"showLegend": {
|
|
15086
|
+
"type": "boolean"
|
|
15087
|
+
},
|
|
15088
|
+
"showTableToggle": {
|
|
15089
|
+
"type": "boolean"
|
|
15090
|
+
},
|
|
15091
|
+
"showInspector": {
|
|
15092
|
+
"type": "boolean"
|
|
15093
|
+
},
|
|
15094
|
+
"showZoomControls": {
|
|
15095
|
+
"type": "boolean"
|
|
15096
|
+
},
|
|
15097
|
+
"showCanvasGrid": {
|
|
15098
|
+
"type": "boolean"
|
|
15099
|
+
}
|
|
15100
|
+
},
|
|
15101
|
+
"additionalProperties": false
|
|
15102
|
+
},
|
|
15103
|
+
"effects": [
|
|
15104
|
+
{
|
|
15105
|
+
"kind": "merge-object",
|
|
15106
|
+
"path": "layout"
|
|
15107
|
+
}
|
|
15108
|
+
],
|
|
15109
|
+
"validators": [
|
|
15110
|
+
"graph-layout-parameters-valid"
|
|
15111
|
+
],
|
|
15112
|
+
"affectedPaths": [
|
|
15113
|
+
"layout",
|
|
15114
|
+
"layout.algorithm",
|
|
15115
|
+
"layout.orientation",
|
|
15116
|
+
"layout.anchorNodeId",
|
|
15117
|
+
"layout.maxDepth",
|
|
15118
|
+
"layout.nodeShape",
|
|
15119
|
+
"layout.defaultViewMode",
|
|
15120
|
+
"layout.expandDepth",
|
|
15121
|
+
"layout.collapseGroupsByDefault",
|
|
15122
|
+
"layout.showToolbar",
|
|
15123
|
+
"layout.showFilters",
|
|
15124
|
+
"layout.showLegend",
|
|
15125
|
+
"layout.showTableToggle",
|
|
15126
|
+
"layout.showInspector",
|
|
15127
|
+
"layout.showZoomControls",
|
|
15128
|
+
"layout.showCanvasGrid"
|
|
15129
|
+
],
|
|
15130
|
+
"submissionImpact": "visual-only",
|
|
15131
|
+
"preconditions": [
|
|
15132
|
+
"config-initialized"
|
|
15133
|
+
]
|
|
15134
|
+
},
|
|
15135
|
+
{
|
|
15136
|
+
"operationId": "update-graph-meta",
|
|
15137
|
+
"title": "Atualizar título, subtítulo e veredito narrativo",
|
|
15138
|
+
"description": "Define título, subtítulo, resumo de veredito e skin visual do container sem alterar a fonte de dados.",
|
|
15139
|
+
"scope": "meta",
|
|
15140
|
+
"targetKind": "meta",
|
|
15141
|
+
"target": {
|
|
15142
|
+
"kind": "meta",
|
|
15143
|
+
"resolver": "meta-config",
|
|
15144
|
+
"ambiguityPolicy": "fail",
|
|
15145
|
+
"required": false,
|
|
15146
|
+
"resolutionSpec": {
|
|
15147
|
+
"strategy": "root-path",
|
|
15148
|
+
"paths": [
|
|
15149
|
+
"$"
|
|
15150
|
+
],
|
|
15151
|
+
"allowIndex": false
|
|
15152
|
+
}
|
|
15153
|
+
},
|
|
15154
|
+
"inputSchema": {
|
|
15155
|
+
"type": "object",
|
|
15156
|
+
"properties": {
|
|
15157
|
+
"title": {
|
|
15158
|
+
"type": "string"
|
|
15159
|
+
},
|
|
15160
|
+
"subtitle": {
|
|
15161
|
+
"type": "string"
|
|
15162
|
+
},
|
|
15163
|
+
"verdict": {
|
|
15164
|
+
"type": "object",
|
|
15165
|
+
"properties": {
|
|
15166
|
+
"title": {
|
|
15167
|
+
"type": "string"
|
|
15168
|
+
},
|
|
15169
|
+
"summary": {
|
|
15170
|
+
"type": "string"
|
|
15171
|
+
},
|
|
15172
|
+
"tone": {
|
|
15173
|
+
"type": "string",
|
|
15174
|
+
"enum": [
|
|
15175
|
+
"neutral",
|
|
15176
|
+
"primary",
|
|
15177
|
+
"info",
|
|
15178
|
+
"success",
|
|
15179
|
+
"warning",
|
|
15180
|
+
"danger",
|
|
15181
|
+
"violet"
|
|
15182
|
+
]
|
|
15183
|
+
}
|
|
15184
|
+
}
|
|
15185
|
+
},
|
|
15186
|
+
"appearance": {
|
|
15187
|
+
"type": "object",
|
|
15188
|
+
"properties": {
|
|
15189
|
+
"skin": {
|
|
15190
|
+
"type": "string",
|
|
15191
|
+
"enum": [
|
|
15192
|
+
"elevated",
|
|
15193
|
+
"outline",
|
|
15194
|
+
"flat",
|
|
15195
|
+
"glass",
|
|
15196
|
+
"custom"
|
|
15197
|
+
]
|
|
15198
|
+
}
|
|
15199
|
+
}
|
|
15200
|
+
}
|
|
15201
|
+
},
|
|
15202
|
+
"additionalProperties": false
|
|
15203
|
+
},
|
|
15204
|
+
"effects": [
|
|
15205
|
+
{
|
|
15206
|
+
"kind": "merge-object",
|
|
15207
|
+
"path": ""
|
|
15208
|
+
}
|
|
15209
|
+
],
|
|
15210
|
+
"validators": [
|
|
15211
|
+
"graph-appearance-valid"
|
|
15212
|
+
],
|
|
15213
|
+
"affectedPaths": [
|
|
15214
|
+
"title",
|
|
15215
|
+
"subtitle",
|
|
15216
|
+
"verdict",
|
|
15217
|
+
"appearance"
|
|
15218
|
+
],
|
|
15219
|
+
"submissionImpact": "config-only",
|
|
15220
|
+
"preconditions": [
|
|
15221
|
+
"config-initialized"
|
|
15222
|
+
]
|
|
15223
|
+
},
|
|
15224
|
+
{
|
|
15225
|
+
"operationId": "configure-remote-data-source",
|
|
15226
|
+
"title": "Configurar endpoint remoto do grafo",
|
|
15227
|
+
"description": "Associa um resourcePath governado para carregamento remoto de nós, arestas, grupos e fontes, opcionalmente informando expandResourcePath.",
|
|
15228
|
+
"scope": "dataBinding",
|
|
15229
|
+
"targetKind": "dataBinding",
|
|
15230
|
+
"target": {
|
|
15231
|
+
"kind": "dataBinding",
|
|
15232
|
+
"resolver": "data-config",
|
|
15233
|
+
"ambiguityPolicy": "fail",
|
|
15234
|
+
"required": false,
|
|
15235
|
+
"resolutionSpec": {
|
|
15236
|
+
"strategy": "root-path",
|
|
15237
|
+
"paths": [
|
|
15238
|
+
"dataSource",
|
|
15239
|
+
"$"
|
|
15240
|
+
],
|
|
15241
|
+
"allowIndex": false
|
|
15242
|
+
}
|
|
15243
|
+
},
|
|
15244
|
+
"inputSchema": {
|
|
15245
|
+
"type": "object",
|
|
15246
|
+
"properties": {
|
|
15247
|
+
"resourcePath": {
|
|
15248
|
+
"type": "string",
|
|
15249
|
+
"minLength": 1
|
|
15250
|
+
},
|
|
15251
|
+
"expandResourcePath": {
|
|
15252
|
+
"type": "string"
|
|
15253
|
+
},
|
|
15254
|
+
"query": {
|
|
15255
|
+
"type": "object"
|
|
15256
|
+
}
|
|
15257
|
+
},
|
|
15258
|
+
"required": [
|
|
15259
|
+
"resourcePath"
|
|
15260
|
+
],
|
|
15261
|
+
"additionalProperties": false
|
|
15262
|
+
},
|
|
15263
|
+
"effects": [
|
|
15264
|
+
{
|
|
15265
|
+
"kind": "merge-object",
|
|
15266
|
+
"path": "dataSource"
|
|
15267
|
+
}
|
|
15268
|
+
],
|
|
15269
|
+
"validators": [
|
|
15270
|
+
"remote-resource-binding-safe"
|
|
15271
|
+
],
|
|
15272
|
+
"affectedPaths": [
|
|
15273
|
+
"dataSource",
|
|
15274
|
+
"dataSource.resourcePath",
|
|
15275
|
+
"dataSource.expandResourcePath",
|
|
15276
|
+
"dataSource.query"
|
|
15277
|
+
],
|
|
15278
|
+
"submissionImpact": "affects-remote-binding",
|
|
15279
|
+
"preconditions": [
|
|
15280
|
+
"config-initialized"
|
|
15281
|
+
]
|
|
15282
|
+
},
|
|
15283
|
+
{
|
|
15284
|
+
"operationId": "upsert-node-style-rule",
|
|
15285
|
+
"title": "Adicionar ou atualizar regra condicional de estilo de nó",
|
|
15286
|
+
"description": "Cria ou altera uma regra JSON Logic em rules.nodeStyles[] para personalizar tom, ícone, badge ou formato dos nós compatíveis.",
|
|
15287
|
+
"scope": "rule",
|
|
15288
|
+
"targetKind": "nodeStyleRule",
|
|
15289
|
+
"target": {
|
|
15290
|
+
"kind": "nodeStyleRule",
|
|
15291
|
+
"resolver": "node-style-rule-by-id",
|
|
15292
|
+
"ambiguityPolicy": "fail",
|
|
15293
|
+
"required": false,
|
|
15294
|
+
"resolutionSpec": {
|
|
15295
|
+
"strategy": "array-match",
|
|
15296
|
+
"paths": [
|
|
15297
|
+
"rules.nodeStyles"
|
|
15298
|
+
],
|
|
15299
|
+
"matchFields": [
|
|
15300
|
+
"id"
|
|
15301
|
+
],
|
|
15302
|
+
"inputMatchFields": [
|
|
15303
|
+
"ruleId",
|
|
15304
|
+
"id"
|
|
15305
|
+
],
|
|
15306
|
+
"allowIndex": false
|
|
15307
|
+
}
|
|
15308
|
+
},
|
|
15309
|
+
"inputSchema": {
|
|
15310
|
+
"type": "object",
|
|
15311
|
+
"properties": {
|
|
15312
|
+
"id": {
|
|
15313
|
+
"type": "string",
|
|
15314
|
+
"minLength": 1
|
|
15315
|
+
},
|
|
15316
|
+
"label": {
|
|
15317
|
+
"type": "string"
|
|
15318
|
+
},
|
|
15319
|
+
"tone": {
|
|
15320
|
+
"type": "string",
|
|
15321
|
+
"enum": [
|
|
15322
|
+
"neutral",
|
|
15323
|
+
"primary",
|
|
15324
|
+
"info",
|
|
15325
|
+
"success",
|
|
15326
|
+
"warning",
|
|
15327
|
+
"danger",
|
|
15328
|
+
"violet"
|
|
15329
|
+
]
|
|
15330
|
+
},
|
|
15331
|
+
"icon": {
|
|
15332
|
+
"type": "string"
|
|
15333
|
+
},
|
|
15334
|
+
"badge": {
|
|
15335
|
+
"type": "string"
|
|
15336
|
+
},
|
|
15337
|
+
"shape": {
|
|
15338
|
+
"type": "string",
|
|
15339
|
+
"enum": [
|
|
15340
|
+
"circle",
|
|
15341
|
+
"card",
|
|
15342
|
+
"pill",
|
|
15343
|
+
"diamond"
|
|
15344
|
+
]
|
|
15345
|
+
},
|
|
15346
|
+
"condition": {
|
|
15347
|
+
"type": "object"
|
|
15348
|
+
}
|
|
15349
|
+
},
|
|
15350
|
+
"required": [
|
|
15351
|
+
"id"
|
|
15352
|
+
],
|
|
15353
|
+
"additionalProperties": false
|
|
15354
|
+
},
|
|
15355
|
+
"effects": [
|
|
15356
|
+
{
|
|
15357
|
+
"kind": "merge-by-key",
|
|
15358
|
+
"path": "rules.nodeStyles",
|
|
15359
|
+
"key": "id"
|
|
15360
|
+
}
|
|
15361
|
+
],
|
|
15362
|
+
"validators": [
|
|
15363
|
+
"rule-condition-json-logic-valid"
|
|
15364
|
+
],
|
|
15365
|
+
"affectedPaths": [
|
|
15366
|
+
"rules.nodeStyles"
|
|
15367
|
+
],
|
|
15368
|
+
"submissionImpact": "visual-only",
|
|
15369
|
+
"preconditions": [
|
|
15370
|
+
"config-initialized"
|
|
15371
|
+
]
|
|
15372
|
+
},
|
|
15373
|
+
{
|
|
15374
|
+
"operationId": "remove-graph-action",
|
|
15375
|
+
"title": "Remover ação declarada do grafo",
|
|
15376
|
+
"description": "Remove uma ação governada de nó ou aresta pelo seu id.",
|
|
15377
|
+
"scope": "itemAction",
|
|
15378
|
+
"targetKind": "graphAction",
|
|
15379
|
+
"target": {
|
|
15380
|
+
"kind": "graphAction",
|
|
15381
|
+
"resolver": "action-by-id",
|
|
15382
|
+
"ambiguityPolicy": "fail",
|
|
15383
|
+
"required": true,
|
|
15384
|
+
"resolutionSpec": {
|
|
15385
|
+
"strategy": "array-match",
|
|
15386
|
+
"paths": [
|
|
15387
|
+
"actions"
|
|
15388
|
+
],
|
|
15389
|
+
"matchFields": [
|
|
15390
|
+
"id"
|
|
15391
|
+
],
|
|
15392
|
+
"inputMatchFields": [
|
|
15393
|
+
"actionId",
|
|
15394
|
+
"id"
|
|
15395
|
+
],
|
|
15396
|
+
"allowIndex": false
|
|
15397
|
+
}
|
|
15398
|
+
},
|
|
15399
|
+
"inputSchema": {
|
|
15400
|
+
"type": "object",
|
|
15401
|
+
"properties": {
|
|
15402
|
+
"id": {
|
|
15403
|
+
"type": "string",
|
|
15404
|
+
"minLength": 1
|
|
15405
|
+
}
|
|
15406
|
+
},
|
|
15407
|
+
"required": [
|
|
15408
|
+
"id"
|
|
15409
|
+
],
|
|
15410
|
+
"additionalProperties": false
|
|
15411
|
+
},
|
|
15412
|
+
"effects": [
|
|
15413
|
+
{
|
|
15414
|
+
"kind": "remove-by-key",
|
|
15415
|
+
"path": "actions",
|
|
15416
|
+
"key": "id"
|
|
15417
|
+
}
|
|
15418
|
+
],
|
|
15419
|
+
"validators": [
|
|
15420
|
+
"action-reference-exists"
|
|
15421
|
+
],
|
|
15422
|
+
"destructive": true,
|
|
15423
|
+
"requiresConfirmation": true,
|
|
15424
|
+
"affectedPaths": [
|
|
15425
|
+
"actions"
|
|
15426
|
+
],
|
|
15427
|
+
"submissionImpact": "config-only",
|
|
15428
|
+
"preconditions": [
|
|
15429
|
+
"target-exists"
|
|
15430
|
+
]
|
|
15431
|
+
}
|
|
15432
|
+
],
|
|
15433
|
+
"validators": [
|
|
15434
|
+
{
|
|
15435
|
+
"validatorId": "graph-layout-parameters-valid",
|
|
15436
|
+
"level": "error",
|
|
15437
|
+
"code": "RELATIONSHIP_GRAPH_LAYOUT_INVALID",
|
|
15438
|
+
"description": "Garante algoritmo, orientação, shape e limites de profundidade válidos."
|
|
15439
|
+
},
|
|
15440
|
+
{
|
|
15441
|
+
"validatorId": "graph-appearance-valid",
|
|
15442
|
+
"level": "warning",
|
|
15443
|
+
"code": "RELATIONSHIP_GRAPH_APPEARANCE_INVALID",
|
|
15444
|
+
"description": "Verifica skin e tom de veredito permitidos pelo catálogo Praxis."
|
|
15445
|
+
},
|
|
15446
|
+
{
|
|
15447
|
+
"validatorId": "remote-resource-binding-safe",
|
|
15448
|
+
"level": "error",
|
|
15449
|
+
"code": "RELATIONSHIP_GRAPH_RESOURCE_PATH_INVALID",
|
|
15450
|
+
"description": "Exige resourcePath relativo válido e não vazio antes de habilitar leitura remota."
|
|
15451
|
+
},
|
|
15452
|
+
{
|
|
15453
|
+
"validatorId": "rule-condition-json-logic-valid",
|
|
15454
|
+
"level": "error",
|
|
15455
|
+
"code": "RELATIONSHIP_GRAPH_RULE_INVALID",
|
|
15456
|
+
"description": "Valida que cada regra condicional possui id estável e condição JSON Logic serializável."
|
|
15457
|
+
},
|
|
15458
|
+
{
|
|
15459
|
+
"validatorId": "action-reference-exists",
|
|
15460
|
+
"level": "error",
|
|
15461
|
+
"code": "RELATIONSHIP_GRAPH_ACTION_MISSING",
|
|
15462
|
+
"description": "Verifica existência prévia da ação em actions[] antes da remoção."
|
|
15463
|
+
}
|
|
15464
|
+
],
|
|
15465
|
+
"roundTripRequirements": [
|
|
15466
|
+
"Preservar propriedades de taxonomy, groups, sources, verdict, mapping, rules e actions sem perda após edição via Settings Panel.",
|
|
15467
|
+
"Manter compatibilidade entre edges[] e links[] na normalização do dataset."
|
|
15468
|
+
],
|
|
15469
|
+
"examples": [
|
|
15470
|
+
{
|
|
15471
|
+
"id": "ex-layout-split-lr",
|
|
15472
|
+
"request": "Exibir o grafo em fluxo esquerda-direita com nós circulares e tabela sincronizada dividida",
|
|
15473
|
+
"operationId": "update-graph-layout",
|
|
15474
|
+
"params": {
|
|
15475
|
+
"algorithm": "layered-dag",
|
|
15476
|
+
"orientation": "LR",
|
|
15477
|
+
"nodeShape": "circle",
|
|
15478
|
+
"defaultViewMode": "split",
|
|
15479
|
+
"showLegend": true
|
|
15480
|
+
},
|
|
15481
|
+
"isPositive": true
|
|
15482
|
+
},
|
|
15483
|
+
{
|
|
15484
|
+
"id": "ex-meta-verdict",
|
|
15485
|
+
"request": "Definir título e veredito narrativo de alerta no topo do grafo",
|
|
15486
|
+
"operationId": "update-graph-meta",
|
|
15487
|
+
"params": {
|
|
15488
|
+
"title": "Análise de Vínculos",
|
|
15489
|
+
"verdict": {
|
|
15490
|
+
"title": "Risco Identificado",
|
|
15491
|
+
"summary": "Caminho de acesso validado por evidências observadas e contextuais.",
|
|
15492
|
+
"tone": "warning"
|
|
15493
|
+
}
|
|
15494
|
+
},
|
|
15495
|
+
"isPositive": true
|
|
15496
|
+
},
|
|
15497
|
+
{
|
|
15498
|
+
"id": "ex-remote-binding",
|
|
15499
|
+
"request": "Conectar o grafo ao endpoint REST /api/v1/audit/relationships",
|
|
15500
|
+
"operationId": "configure-remote-data-source",
|
|
15501
|
+
"params": {
|
|
15502
|
+
"resourcePath": "/api/v1/audit/relationships"
|
|
15503
|
+
},
|
|
15504
|
+
"isPositive": true
|
|
15505
|
+
},
|
|
15506
|
+
{
|
|
15507
|
+
"id": "ex-node-rule",
|
|
15508
|
+
"request": "Destacar em danger todos os nós do tipo risk",
|
|
15509
|
+
"operationId": "upsert-node-style-rule",
|
|
15510
|
+
"target": "highlight-risk-nodes",
|
|
15511
|
+
"params": {
|
|
15512
|
+
"id": "highlight-risk-nodes",
|
|
15513
|
+
"label": "Destacar nós críticos",
|
|
15514
|
+
"tone": "danger",
|
|
15515
|
+
"condition": {
|
|
15516
|
+
"===": [
|
|
15517
|
+
{
|
|
15518
|
+
"var": "type"
|
|
15519
|
+
},
|
|
15520
|
+
"risk"
|
|
15521
|
+
]
|
|
15522
|
+
}
|
|
15523
|
+
},
|
|
15524
|
+
"isPositive": true
|
|
15525
|
+
},
|
|
15526
|
+
{
|
|
15527
|
+
"id": "ex-remove-action",
|
|
15528
|
+
"request": "Remover a ação obsoleta export-snapshot do grafo",
|
|
15529
|
+
"operationId": "remove-graph-action",
|
|
15530
|
+
"target": "export-snapshot",
|
|
15531
|
+
"params": {
|
|
15532
|
+
"id": "export-snapshot"
|
|
15533
|
+
},
|
|
15534
|
+
"isPositive": true
|
|
15535
|
+
},
|
|
15536
|
+
{
|
|
15537
|
+
"id": "ex-negative-invalid-algorithm",
|
|
15538
|
+
"request": "Configurar um algoritmo desconhecido galaxy-3d no grafo",
|
|
15539
|
+
"operationId": "update-graph-layout",
|
|
15540
|
+
"params": {
|
|
15541
|
+
"algorithm": "galaxy-3d"
|
|
15542
|
+
},
|
|
15543
|
+
"isPositive": false
|
|
15544
|
+
}
|
|
15545
|
+
]
|
|
15546
|
+
},
|
|
15547
|
+
"chunks": [
|
|
15548
|
+
{
|
|
15549
|
+
"chunkIndex": 0,
|
|
15550
|
+
"chunkKind": "summary",
|
|
15551
|
+
"content": "Component ID: praxis-relationship-graph\nSelector: praxis-relationship-graph\nFriendly Name: Grafo de Relacionamentos\nDescription: Componente governado para visualização e inspeção de grafos heterogêneos (DAG multi-pai, ciclos, ego-radial e force-spring) com evidência não-cromática (observed, contextual, inferred), proveniência numerada, destaque de caminho e tabela sincronizada.\nLib/Package: @praxisui/list\nTags: graph, relationship, network, dag, provenance, evidence, security-graph, investigation\nInputs:\n - graphId (string)\n - componentInstanceId (string)\n - configPersistenceStrategy ('local-first' | 'input-first' | 'volatile')\n - enableCustomization (boolean)\n - config (PraxisRelationshipGraphConfig)\n - dataset (PraxisRelationshipGraphDataset | Record<string, unknown> | null)\n - nodes (Array<Record<string, unknown> | PraxisRelationshipGraphNode> | null)\n - edges (Array<Record<string, unknown> | PraxisRelationshipGraphEdge> | null)\n - links (Array<Record<string, unknown> | PraxisRelationshipGraphEdge> | null)\n - resourcePath (string | null)\n - endpointKey (ApiEndpoint)\n - apiUrlEntry (ApiUrlEntry | null)\n - queryContext (PraxisDataQueryContext | null)\n - algorithm ('layered-dag' | 'ego-radial' | 'force-spring' | null)\n - orientation ('LR' | 'TB' | null)\n - anchorNodeId (string | null)\n - maxDepth (number | null)\n - nodeShape ('circle' | 'card' | 'pill' | 'diamond' | null)\n - expandDepth (number | null)\n - pathHighlight (PraxisRelationshipGraphPathHighlight | null)\nOutputs:\n - nodeSelect (PraxisRelationshipGraphNodeEvent)\n - edgeSelect (PraxisRelationshipGraphEdgeEvent)\n - pathHighlightChange (PraxisRelationshipGraphPathHighlightEvent)\n - actionClick (PraxisRelationshipGraphActionEvent)\n - queryContextChange (PraxisDataQueryContext)\n - configPatchChange (Partial<PraxisRelationshipGraphConfig>)\n - expandNodeRequest ({ nodeId: string; depth: number })\nInsertion Presets:\n - relationship-graph-attack-dag: Fluxo de Impacto / Attack Graph (LR) - Grafo em camadas esquerda → direita com nós circulares, evidência não-cromática, fontes numeradas e tabela sincronizada.\n - relationship-graph-ego-split: Exploração Ego-Radial + Tabela (Split) - Anéis concêntricos de N-saltos a partir de um nó âncora combinados com tabela semântica bidirecional.\n",
|
|
15552
|
+
"sourcePointer": "projects/praxis-list/src/lib/praxis-relationship-graph.metadata.ts",
|
|
15553
|
+
"contentHash": "32d3a1083dd887345b99547cf923bb378127d836411ecb378407d6311211df66",
|
|
15554
|
+
"sourceKind": "component_definition",
|
|
15555
|
+
"sourceId": "praxis-relationship-graph",
|
|
15556
|
+
"corpusVersion": "1.0.0"
|
|
15557
|
+
},
|
|
15558
|
+
{
|
|
15559
|
+
"chunkIndex": 1,
|
|
15560
|
+
"chunkKind": "capabilities",
|
|
15561
|
+
"content": "Component Capability:\n - Path: id\n Category: identity\n Kind: string\n Description: Identificador estável da configuração do grafo de relacionamentos.\n\nComponent Capability:\n - Path: title\n Category: appearance\n Kind: string\n Description: Título exibido no cabeçalho do grafo.\n\nComponent Capability:\n - Path: subtitle\n Category: appearance\n Kind: string\n Description: Subtítulo explicativo abaixo do título do grafo.\n\nComponent Capability:\n - Path: verdict\n Category: appearance\n Kind: object\n Description: Bloco narrativo de veredito acima do grafo (title, summary, tone ou rich document).\n\nComponent Capability:\n - Path: verdict.summary\n Category: appearance\n Kind: string\n Description: Resumo narrativo do veredito exibido no banner superior.\n\nComponent Capability:\n - Path: verdict.tone\n Category: appearance\n Kind: enum\n Description: Tom semântico do bloco de veredito.\n\nComponent Capability:\n - Path: dataSource.resourcePath\n Category: data\n Kind: string\n Description: Endpoint REST para carregamento remoto do grafo via GenericCrudService.\n\nComponent Capability:\n - Path: dataSource.expandResourcePath\n Category: data\n Kind: string\n Description: Endpoint opcional para expansão incremental de vizinhança sob demanda (+N).\n\nComponent Capability:\n - Path: mapping.nodesPath\n Category: data\n Kind: string\n Description: Caminho dot-path da coleção de nós dentro de payloads arbitrários.\n\nComponent Capability:\n - Path: mapping.edgesPath\n Category: data\n Kind: string\n Description: Caminho dot-path da coleção de arestas ou links dentro de payloads arbitrários.\n\nComponent Capability:\n - Path: mapping.node\n Category: data\n Kind: object\n Description: Mapeamento declarativo dos campos de nó (idField, typeField, labelField, groupIdField, sourceRefsField).\n\nComponent Capability:\n - Path: mapping.edge\n Category: data\n Kind: object\n Description: Mapeamento declarativo dos campos de aresta (sourceField, targetField, relationField, evidenceField, sourceRefsField).\n\nComponent Capability:\n - Path: taxonomy.nodeTypes\n Category: appearance\n Kind: object\n Description: Dicionário de rótulos, ícones, tons e formatos por tipo de nó.\n\nComponent Capability:\n - Path: taxonomy.relationTypes\n Category: appearance\n Kind: object\n Description: Dicionário de rótulos, tons e evidência padrão por relação de aresta.\n\nComponent Capability:\n - Path: taxonomy.evidenceTypes\n Category: appearance\n Kind: object\n Description: Rótulos e ícones customizados para observed, contextual e inferred.\n\nComponent Capability:\n - Path: layout.algorithm\n Category: layout\n Kind: enum\n Description: Algoritmo determinístico de layout do grafo.\n\nComponent Capability:\n - Path: layout.orientation\n Category: layout\n Kind: enum\n Description: Direção principal do fluxo em layered-dag (LR = esquerda para direita, TB = topo para base).\n\nComponent Capability:\n - Path: layout.anchorNodeId\n Category: layout\n Kind: string\n Description: ID do nó âncora utilizado pelo modo ego-radial ou expansão por profundidade.\n\nComponent Capability:\n - Path: layout.maxDepth\n Category: layout\n Kind: number\n Description: Quantidade máxima de saltos visíveis nos anéis do layout ego-radial.\n\nComponent Capability:\n - Path: layout.nodeShape\n Category: appearance\n Kind: enum\n Description: Formato visual padrão dos nós no canvas.\n\nComponent Capability:\n - Path: layout.expandDepth\n Category: behavior\n Kind: number\n Description: Limite inicial de saltos antes de recolher vizinhos excedentes atrás de botões +N.\n\nComponent Capability:\n - Path: layout.collapseGroupsByDefault\n Category: behavior\n Kind: boolean\n Description: Define se clusters/grupos declarados iniciam recolhidos.\n\nComponent Capability:\n - Path: layout.defaultViewMode\n Category: layout\n Kind: enum\n Description: Modo de exibição inicial: apenas grafo, dividido (grafo + tabela) ou apenas tabela.\n\nComponent Capability:\n - Path: layout.showToolbar\n Category: appearance\n Kind: boolean\n Description: Exibe a barra flutuante de troca de layout, legenda, tela cheia e zoom.\n\nComponent Capability:\n - Path: layout.showFilters\n Category: behavior\n Kind: boolean\n Description: Exibe a barra superior de filtros por nó, relação, evidência e busca.\n\nComponent Capability:\n - Path: layout.showLegend\n Category: appearance\n Kind: boolean\n Description: Exibe a legenda recolhível com totais de nós, arestas e codificação não-cromática de evidência.\n\nComponent Capability:\n - Path: layout.showTableToggle\n Category: behavior\n Kind: boolean\n Description: Permite alternar entre visualização em grafo, dividida ou tabular.\n\nComponent Capability:\n - Path: layout.showInspector\n Category: behavior\n Kind: boolean\n Description: Habilita o painel de inspeção ao selecionar nó, aresta ou fonte.\n\nComponent Capability:\n - Path: layout.showZoomControls\n Category: behavior\n Kind: boolean\n Description: Exibe os botões e slider de zoom no rail lateral.\n\nComponent Capability:\n - Path: layout.showCanvasGrid\n Category: appearance\n Kind: boolean\n Description: Exibe grade pontilhada sutil no fundo do canvas.\n\nComponent Capability:\n - Path: appearance.skin\n Category: appearance\n Kind: enum\n Description: Skin visual de superfície do container.\n\nComponent Capability:\n - Path: rules.nodeStyles[]\n Category: behavior\n Kind: array\n Description: Regras JSON Logic condicionais para adaptar tom, ícone, formato ou badge de nós.\n\nComponent Capability:\n - Path: rules.edgeStyles[]\n Category: behavior\n Kind: array\n Description: Regras JSON Logic condicionais para destacar ou alterar arestas.\n\nComponent Capability:\n - Path: actions[]\n Category: behavior\n Kind: array\n Description: Ações governadas por nó/aresta com HATEOAS _links, visibleWhen/disabledWhen, QuickView ou GlobalAction.\n\nComponent Capability:\n - Path: groups[]\n Category: layout\n Kind: array\n Description: Clusters/grupos recolhíveis de nós para escalabilidade em grafos densos.\n\nComponent Capability:\n - Path: sources[]\n Category: data\n Kind: array\n Description: Fontes de proveniência numeradas citadas pelas arestas, nós e rodapé.\n\nCapability Note:\n - Evidências devem usar codificação não-cromática obrigatória (observed=sólido, contextual=tracejado, inferred=pontilhado) acompanhada de ícones e legenda explícita.\n\nCapability Note:\n - O editor widget de configurações deve permanecer estritamente frameless para uso no @praxisui/settings-panel.\n\nCapability Note:\n - A tabela sincronizada reflete exatamente os filtros e a seleção de arestas/nós sem duplicar estado divergente.",
|
|
15562
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/relationship-graph-ai-capabilities.ts",
|
|
15563
|
+
"contentHash": "287e6c75bd9e26d7eed1855ba1c6208a3ea1a3efdd00c3600b6ee0200a58c7c4",
|
|
15564
|
+
"sourceKind": "component_definition",
|
|
15565
|
+
"sourceId": "praxis-relationship-graph",
|
|
15566
|
+
"corpusVersion": "1.0.0"
|
|
15567
|
+
},
|
|
15568
|
+
{
|
|
15569
|
+
"chunkIndex": 2,
|
|
15570
|
+
"chunkKind": "authoring_manifest",
|
|
15571
|
+
"content": "{\"operationId\":\"update-graph-layout\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Configurar layout, orientação e formato de nó Atualiza algoritmo determinístico (layered-dag, ego-radial, force-spring), orientação (LR/TB), formato dos nós (circle/card/pill/diamond) e modo de visualização (graph/split/table). Effects: merge-object. Exibir o grafo em fluxo esquerda-direita com nós circulares e tabela sincronizada dividida Configurar um algoritmo desconhecido galaxy-3d no grafo\",\"scope\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"appearance-config\",\"required\":false},\"inputContract\":{\"required\":[],\"properties\":[\"algorithm\",\"orientation\",\"anchorNodeId\",\"maxDepth\",\"nodeShape\",\"defaultViewMode\",\"expandDepth\",\"collapseGroupsByDefault\",\"showToolbar\",\"showFilters\",\"showLegend\",\"showTableToggle\",\"showInspector\",\"showZoomControls\",\"showCanvasGrid\"],\"semanticTerms\":[\"algorithm\",\"orientation\",\"anchorNodeId\",\"maxDepth\",\"nodeShape\",\"defaultViewMode\",\"expandDepth\",\"collapseGroupsByDefault\",\"showToolbar\",\"showFilters\",\"showLegend\",\"showTableToggle\",\"showInspector\",\"showZoomControls\",\"showCanvasGrid\",\"layered-dag\",\"ego-radial\",\"force-spring\",\"LR\",\"TB\",\"circle\",\"card\",\"pill\",\"diamond\",\"graph\",\"split\",\"table\"]},\"effects\":[\"merge-object\"],\"affectedPaths\":[\"layout\",\"layout.algorithm\",\"layout.orientation\",\"layout.anchorNodeId\",\"layout.maxDepth\",\"layout.nodeShape\",\"layout.defaultViewMode\",\"layout.expandDepth\",\"layout.collapseGroupsByDefault\",\"layout.showToolbar\",\"layout.showFilters\",\"layout.showLegend\",\"layout.showTableToggle\",\"layout.showInspector\",\"layout.showZoomControls\",\"layout.showCanvasGrid\"],\"validators\":[{\"validatorId\":\"graph-layout-parameters-valid\",\"level\":\"error\",\"code\":\"RELATIONSHIP_GRAPH_LAYOUT_INVALID\",\"description\":\"Garante algoritmo, orientação, shape e limites de profundidade válidos.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"visual-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"ex-layout-split-lr\",\"request\":\"Exibir o grafo em fluxo esquerda-direita com nós circulares e tabela sincronizada dividida\",\"operationId\":\"update-graph-layout\",\"params\":{\"algorithm\":\"layered-dag\",\"orientation\":\"LR\",\"nodeShape\":\"circle\",\"defaultViewMode\":\"split\",\"showLegend\":true},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"ex-negative-invalid-algorithm\",\"request\":\"Configurar um algoritmo desconhecido galaxy-3d no grafo\",\"operationId\":\"update-graph-layout\",\"params\":{\"algorithm\":\"galaxy-3d\"},\"isPositive\":false}]}",
|
|
15572
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15573
|
+
"contentHash": "f30566129bd8d59169d88157f6c3ddf2b6df514292484f96be83b903392c3129",
|
|
15574
|
+
"sourceKind": "component_definition",
|
|
15575
|
+
"sourceId": "praxis-relationship-graph",
|
|
15576
|
+
"corpusVersion": "1.0.0"
|
|
15577
|
+
},
|
|
15578
|
+
{
|
|
15579
|
+
"chunkIndex": 3,
|
|
15580
|
+
"chunkKind": "authoring_manifest",
|
|
15581
|
+
"content": "{\"operationId\":\"update-graph-meta\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Atualizar título, subtítulo e veredito narrativo Define título, subtítulo, resumo de veredito e skin visual do container sem alterar a fonte de dados. Effects: merge-object. Definir título e veredito narrativo de alerta no topo do grafo\",\"scope\":\"meta\",\"target\":{\"kind\":\"meta\",\"resolver\":\"meta-config\",\"required\":false},\"inputContract\":{\"required\":[],\"properties\":[\"title\",\"subtitle\",\"verdict\",\"appearance\"],\"semanticTerms\":[\"title\",\"subtitle\",\"verdict\",\"appearance\",\"verdict.title\",\"verdict.summary\",\"verdict.tone\",\"appearance.skin\",\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\",\"violet\",\"elevated\",\"outline\",\"flat\",\"glass\",\"custom\"]},\"effects\":[\"merge-object\"],\"affectedPaths\":[\"title\",\"subtitle\",\"verdict\",\"appearance\"],\"validators\":[{\"validatorId\":\"graph-appearance-valid\",\"level\":\"warning\",\"code\":\"RELATIONSHIP_GRAPH_APPEARANCE_INVALID\",\"description\":\"Verifica skin e tom de veredito permitidos pelo catálogo Praxis.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"ex-meta-verdict\",\"request\":\"Definir título e veredito narrativo de alerta no topo do grafo\",\"operationId\":\"update-graph-meta\",\"params\":{\"title\":\"Análise de Vínculos\",\"verdict\":{\"title\":\"Risco Identificado\",\"summary\":\"Caminho de acesso validado por evidências observadas e contextuais.\",\"tone\":\"warning\"}},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
15582
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15583
|
+
"contentHash": "9f6a73b331e824ef0163ab796e6f7bb4bac5a5c1a9210434b9fe59b16c3657bb",
|
|
15584
|
+
"sourceKind": "component_definition",
|
|
15585
|
+
"sourceId": "praxis-relationship-graph",
|
|
15586
|
+
"corpusVersion": "1.0.0"
|
|
15587
|
+
},
|
|
15588
|
+
{
|
|
15589
|
+
"chunkIndex": 4,
|
|
15590
|
+
"chunkKind": "authoring_manifest",
|
|
15591
|
+
"content": "{\"operationId\":\"configure-remote-data-source\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Configurar endpoint remoto do grafo Associa um resourcePath governado para carregamento remoto de nós, arestas, grupos e fontes, opcionalmente informando expandResourcePath. Effects: merge-object. Conectar o grafo ao endpoint REST /api/v1/audit/relationships\",\"scope\":\"dataBinding\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"data-config\",\"required\":false},\"inputContract\":{\"required\":[\"resourcePath\"],\"properties\":[\"resourcePath\",\"expandResourcePath\",\"query\"],\"semanticTerms\":[\"resourcePath\",\"expandResourcePath\",\"query\"]},\"effects\":[\"merge-object\"],\"affectedPaths\":[\"dataSource\",\"dataSource.resourcePath\",\"dataSource.expandResourcePath\",\"dataSource.query\"],\"validators\":[{\"validatorId\":\"remote-resource-binding-safe\",\"level\":\"error\",\"code\":\"RELATIONSHIP_GRAPH_RESOURCE_PATH_INVALID\",\"description\":\"Exige resourcePath relativo válido e não vazio antes de habilitar leitura remota.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"affects-remote-binding\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"ex-remote-binding\",\"request\":\"Conectar o grafo ao endpoint REST /api/v1/audit/relationships\",\"operationId\":\"configure-remote-data-source\",\"params\":{\"resourcePath\":\"/api/v1/audit/relationships\"},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
15592
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15593
|
+
"contentHash": "3ea120d3e0e6e1026704eed589403390d100c0335c416f8cf8a81ee22bf04469",
|
|
15594
|
+
"sourceKind": "component_definition",
|
|
15595
|
+
"sourceId": "praxis-relationship-graph",
|
|
15596
|
+
"corpusVersion": "1.0.0"
|
|
15597
|
+
},
|
|
15598
|
+
{
|
|
15599
|
+
"chunkIndex": 5,
|
|
15600
|
+
"chunkKind": "authoring_manifest",
|
|
15601
|
+
"content": "{\"operationId\":\"upsert-node-style-rule\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Adicionar ou atualizar regra condicional de estilo de nó Cria ou altera uma regra JSON Logic em rules.nodeStyles[] para personalizar tom, ícone, badge ou formato dos nós compatíveis. Effects: merge-by-key. Destacar em danger todos os nós do tipo risk\",\"scope\":\"rule\",\"target\":{\"kind\":\"nodeStyleRule\",\"resolver\":\"node-style-rule-by-id\",\"required\":false},\"inputContract\":{\"required\":[\"id\"],\"properties\":[\"id\",\"label\",\"tone\",\"icon\",\"badge\",\"shape\",\"condition\"],\"semanticTerms\":[\"id\",\"label\",\"tone\",\"icon\",\"badge\",\"shape\",\"condition\",\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\",\"violet\",\"circle\",\"card\",\"pill\",\"diamond\"]},\"effects\":[\"merge-by-key\"],\"affectedPaths\":[\"rules.nodeStyles\"],\"validators\":[{\"validatorId\":\"rule-condition-json-logic-valid\",\"level\":\"error\",\"code\":\"RELATIONSHIP_GRAPH_RULE_INVALID\",\"description\":\"Valida que cada regra condicional possui id estável e condição JSON Logic serializável.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"visual-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"ex-node-rule\",\"request\":\"Destacar em danger todos os nós do tipo risk\",\"operationId\":\"upsert-node-style-rule\",\"target\":\"highlight-risk-nodes\",\"params\":{\"id\":\"highlight-risk-nodes\",\"label\":\"Destacar nós críticos\",\"tone\":\"danger\",\"condition\":{\"===\":[{\"var\":\"type\"},\"risk\"]}},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
15602
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15603
|
+
"contentHash": "d52be5c2d3b9edbaac126001ac1d1667d01cc2f1d1b1d5e3ac260aa012de675f",
|
|
15604
|
+
"sourceKind": "component_definition",
|
|
15605
|
+
"sourceId": "praxis-relationship-graph",
|
|
15606
|
+
"corpusVersion": "1.0.0"
|
|
15607
|
+
},
|
|
15608
|
+
{
|
|
15609
|
+
"chunkIndex": 6,
|
|
15610
|
+
"chunkKind": "authoring_manifest",
|
|
15611
|
+
"content": "{\"operationId\":\"remove-graph-action\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Remover ação declarada do grafo Remove uma ação governada de nó ou aresta pelo seu id. Effects: remove-by-key. Remover a ação obsoleta export-snapshot do grafo\",\"scope\":\"itemAction\",\"target\":{\"kind\":\"graphAction\",\"resolver\":\"action-by-id\",\"required\":true},\"inputContract\":{\"required\":[\"id\"],\"properties\":[\"id\"],\"semanticTerms\":[\"id\"]},\"effects\":[\"remove-by-key\"],\"affectedPaths\":[\"actions\"],\"validators\":[{\"validatorId\":\"action-reference-exists\",\"level\":\"error\",\"code\":\"RELATIONSHIP_GRAPH_ACTION_MISSING\",\"description\":\"Verifica existência prévia da ação em actions[] antes da remoção.\"}],\"preconditions\":[\"target-exists\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"ex-remove-action\",\"request\":\"Remover a ação obsoleta export-snapshot do grafo\",\"operationId\":\"remove-graph-action\",\"target\":\"export-snapshot\",\"params\":{\"id\":\"export-snapshot\"},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
15612
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15613
|
+
"contentHash": "98e1b537c120a9d5e892cd0061bfdd9545436909e0f3198dd823e69daa82ca24",
|
|
15614
|
+
"sourceKind": "component_definition",
|
|
15615
|
+
"sourceId": "praxis-relationship-graph",
|
|
15616
|
+
"corpusVersion": "1.0.0"
|
|
15617
|
+
},
|
|
15618
|
+
{
|
|
15619
|
+
"chunkIndex": 7,
|
|
15620
|
+
"chunkKind": "authoring_manifest",
|
|
15621
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"identity\"}",
|
|
15622
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15623
|
+
"contentHash": "6e243d214c09d9a55b91d6f0b21443da0f6ad18b0cbbbf7d531cd9478a630453",
|
|
15624
|
+
"sourceKind": "component_definition",
|
|
15625
|
+
"sourceId": "praxis-relationship-graph",
|
|
15626
|
+
"corpusVersion": "1.0.0"
|
|
15627
|
+
},
|
|
15628
|
+
{
|
|
15629
|
+
"chunkIndex": 8,
|
|
15630
|
+
"chunkKind": "authoring_manifest",
|
|
15631
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"runtimeInputs\",\"runtimeInputs\":[{\"name\":\"config\",\"type\":\"PraxisRelationshipGraphConfig\",\"description\":\"Configuração governada completa do grafo de relacionamentos.\"},{\"name\":\"dataset\",\"type\":\"PraxisRelationshipGraphDataset | Record<string, unknown> | null\",\"description\":\"Payload inline contendo nodes, edges/links, groups, sources e verdict.\"},{\"name\":\"resourcePath\",\"type\":\"string | null\",\"description\":\"Endpoint REST governado para carregamento remoto.\"},{\"name\":\"queryContext\",\"type\":\"PraxisDataQueryContext | null\",\"description\":\"Contexto de filtros reativo vindo da página.\"},{\"name\":\"algorithm\",\"type\":\"'layered-dag' | 'ego-radial' | 'force-spring' | null\",\"description\":\"Algoritmo determinístico de layout.\",\"allowedValues\":[\"layered-dag\",\"ego-radial\",\"force-spring\"]},{\"name\":\"orientation\",\"type\":\"'LR' | 'TB' | null\",\"description\":\"Orientação do grafo layered-dag.\",\"allowedValues\":[\"LR\",\"TB\"]},{\"name\":\"nodeShape\",\"type\":\"'circle' | 'card' | 'pill' | 'diamond' | null\",\"description\":\"Formato padrão dos nós no canvas.\",\"allowedValues\":[\"circle\",\"card\",\"pill\",\"diamond\"]},{\"name\":\"pathHighlight\",\"type\":\"PraxisRelationshipGraphPathHighlight | null\",\"description\":\"Subgrafo ou alcance N-hops destacado.\"}]}",
|
|
15632
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15633
|
+
"contentHash": "393a8287bf9bd4783e5c9e4c6854e033f4641c8cb6c719882fed1da1f642de6e",
|
|
15634
|
+
"sourceKind": "component_definition",
|
|
15635
|
+
"sourceId": "praxis-relationship-graph",
|
|
15636
|
+
"corpusVersion": "1.0.0"
|
|
15637
|
+
},
|
|
15638
|
+
{
|
|
15639
|
+
"chunkIndex": 9,
|
|
15640
|
+
"chunkKind": "authoring_manifest",
|
|
15641
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"layout\",\"resolver\":\"appearance-config\",\"description\":\"Layout determinístico, orientação, formato padrão dos nós e modo de exibição do grafo.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"layout\",\"$\"],\"allowIndex\":false}},{\"kind\":\"meta\",\"resolver\":\"meta-config\",\"description\":\"Título, subtítulo, veredito narrativo e skin visual no root da configuração.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"$\"],\"allowIndex\":false}},{\"kind\":\"dataBinding\",\"resolver\":\"data-config\",\"description\":\"Endpoint remoto resourcePath, expandResourcePath e query em dataSource.\",\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"dataSource\",\"$\"],\"allowIndex\":false}},{\"kind\":\"nodeStyleRule\",\"resolver\":\"node-style-rule-by-id\",\"description\":\"Regra condicional JSON Logic de estilo de nós em rules.nodeStyles[].\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"rules.nodeStyles\"],\"matchFields\":[\"id\"],\"inputMatchFields\":[\"ruleId\",\"id\"],\"allowIndex\":false}},{\"kind\":\"graphAction\",\"resolver\":\"action-by-id\",\"description\":\"Ação governada por nó ou aresta configurada em actions[].\",\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"actions\"],\"matchFields\":[\"id\"],\"inputMatchFields\":[\"actionId\",\"id\"],\"allowIndex\":false}}]}",
|
|
15642
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15643
|
+
"contentHash": "0a51aee5d3c706a2595df99050deb50b2715b108a09434802428606ca07d7edf",
|
|
15644
|
+
"sourceKind": "component_definition",
|
|
15645
|
+
"sourceId": "praxis-relationship-graph",
|
|
15646
|
+
"corpusVersion": "1.0.0"
|
|
15647
|
+
},
|
|
15648
|
+
{
|
|
15649
|
+
"chunkIndex": 10,
|
|
15650
|
+
"chunkKind": "authoring_manifest",
|
|
15651
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"update-graph-layout\",\"title\":\"Configurar layout, orientação e formato de nó\",\"description\":\"Atualiza algoritmo determinístico (layered-dag, ego-radial, force-spring), orientação (LR/TB), formato dos nós (circle/card/pill/diamond) e modo de visualização (graph/split/table).\",\"scope\":\"layout\",\"targetKind\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"appearance-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"layout\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"algorithm\":{\"type\":\"string\",\"enum\":[\"layered-dag\",\"ego-radial\",\"force-spring\"]},\"orientation\":{\"type\":\"string\",\"enum\":[\"LR\",\"TB\"]},\"anchorNodeId\":{\"type\":\"string\"},\"maxDepth\":{\"type\":\"number\",\"minimum\":1,\"maximum\":12},\"nodeShape\":{\"type\":\"string\",\"enum\":[\"circle\",\"card\",\"pill\",\"diamond\"]},\"defaultViewMode\":{\"type\":\"string\",\"enum\":[\"graph\",\"split\",\"table\"]},\"expandDepth\":{\"type\":\"number\",\"minimum\":1,\"maximum\":10},\"collapseGroupsByDefault\":{\"type\":\"boolean\"},\"showToolbar\":{\"type\":\"boolean\"},\"showFilters\":{\"type\":\"boolean\"},\"showLegend\":{\"type\":\"boolean\"},\"showTableToggle\":{\"type\":\"boolean\"},\"showInspector\":{\"type\":\"boolean\"},\"showZoomControls\":{\"type\":\"boolean\"},\"showCanvasGrid\":{\"type\":\"boolean\"}},\"additionalProperties\":false},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"layout\"}],\"validators\":[\"graph-layout-parameters-valid\"],\"affectedPaths\":[\"layout\",\"layout.algorithm\",\"layout.orientation\",\"layout.anchorNodeId\",\"layout.maxDepth\",\"layout.nodeShape\",\"layout.defaultViewMode\",\"layout.expandDepth\",\"layout.collapseGroupsByDefault\",\"layout.showToolbar\",\"layout.showFilters\",\"layout.showLegend\",\"layout.showTableToggle\",\"layout.showInspector\",\"layout.showZoomControls\",\"layout.showCanvasGrid\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"update-graph-meta\",\"title\":\"Atualizar título, subtítulo e veredito narrativo\",\"description\":\"Define título, subtítulo, resumo de veredito e skin visual do container sem alterar a fonte de dados.\",\"scope\":\"meta\",\"targetKind\":\"meta\",\"target\":{\"kind\":\"meta\",\"resolver\":\"meta-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"subtitle\":{\"type\":\"string\"},\"verdict\":{\"type\":\"object\",\"properties\":{\"title\":{\"type\":\"string\"},\"summary\":{\"type\":\"string\"},\"tone\":{\"type\":\"string\",\"enum\":[\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\",\"violet\"]}}},\"appearance\":{\"type\":\"object\",\"properties\":{\"skin\":{\"type\":\"string\",\"enum\":[\"elevated\",\"outline\",\"flat\",\"glass\",\"custom\"]}}}},\"additionalProperties\":false},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"\"}],\"validators\":[\"graph-appearance-valid\"],\"affectedPaths\":[\"title\",\"subtitle\",\"verdict\",\"appearance\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"configure-remote-data-source\",\"title\":\"Configurar endpoint remoto do grafo\",\"description\":\"Associa um resourcePath governado para carregamento remoto de nós, arestas, grupos e fontes, opcionalmente informando expandResourcePath.\",\"scope\":\"dataBinding\",\"targetKind\":\"dataBinding\",\"target\":{\"kind\":\"dataBinding\",\"resolver\":\"data-config\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"root-path\",\"paths\":[\"dataSource\",\"$\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"resourcePath\":{\"type\":\"string\",\"minLength\":1},\"expandResourcePath\":{\"type\":\"string\"},\"query\":{\"type\":\"object\"}},\"required\":[\"resourcePath\"],\"additionalProperties\":false},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"dataSource\"}],\"validators\":[\"remote-resource-binding-safe\"],\"affectedPaths\":[\"dataSource\",\"dataSource.resourcePath\",\"dataSource.expandResourcePath\",\"dataSource.query\"],\"submissionImpact\":\"affects-remote-binding\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"upsert-node-style-rule\",\"title\":\"Adicionar ou atualizar regra condicional de estilo de nó\",\"description\":\"Cria ou altera uma regra JSON Logic em rules.nodeStyles[] para personalizar tom, ícone, badge ou formato dos nós compatíveis.\",\"scope\":\"rule\",\"targetKind\":\"nodeStyleRule\",\"target\":{\"kind\":\"nodeStyleRule\",\"resolver\":\"node-style-rule-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"rules.nodeStyles\"],\"matchFields\":[\"id\"],\"inputMatchFields\":[\"ruleId\",\"id\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"minLength\":1},\"label\":{\"type\":\"string\"},\"tone\":{\"type\":\"string\",\"enum\":[\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\",\"violet\"]},\"icon\":{\"type\":\"string\"},\"badge\":{\"type\":\"string\"},\"shape\":{\"type\":\"string\",\"enum\":[\"circle\",\"card\",\"pill\",\"diamond\"]},\"condition\":{\"type\":\"object\"}},\"required\":[\"id\"],\"additionalProperties\":false},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"rules.nodeStyles\",\"key\":\"id\"}],\"validators\":[\"rule-condition-json-logic-valid\"],\"affectedPaths\":[\"rules.nodeStyles\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"remove-graph-action\",\"title\":\"Remover ação declarada do grafo\",\"description\":\"Remove uma ação governada de nó ou aresta pelo seu id.\",\"scope\":\"itemAction\",\"targetKind\":\"graphAction\",\"target\":{\"kind\":\"graphAction\",\"resolver\":\"action-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"strategy\":\"array-match\",\"paths\":[\"actions\"],\"matchFields\":[\"id\"],\"inputMatchFields\":[\"actionId\",\"id\"],\"allowIndex\":false}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\",\"minLength\":1}},\"required\":[\"id\"],\"additionalProperties\":false},\"effects\":[{\"kind\":\"remove-by-key\",\"path\":\"actions\",\"key\":\"id\"}],\"validators\":[\"action-reference-exists\"],\"destructive\":true,\"requiresConfirmation\":true,\"affectedPaths\":[\"actions\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"target-exists\"]}]}",
|
|
15652
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15653
|
+
"contentHash": "b87c85a15d77fe2842ad44e444fa6df646c1b8cbb1839d09efd744d73a12b6dd",
|
|
15654
|
+
"sourceKind": "component_definition",
|
|
15655
|
+
"sourceId": "praxis-relationship-graph",
|
|
15656
|
+
"corpusVersion": "1.0.0"
|
|
15657
|
+
},
|
|
15658
|
+
{
|
|
15659
|
+
"chunkIndex": 11,
|
|
15660
|
+
"chunkKind": "authoring_manifest",
|
|
15661
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"validators\",\"validators\":[{\"validatorId\":\"graph-layout-parameters-valid\",\"level\":\"error\",\"code\":\"RELATIONSHIP_GRAPH_LAYOUT_INVALID\",\"description\":\"Garante algoritmo, orientação, shape e limites de profundidade válidos.\"},{\"validatorId\":\"graph-appearance-valid\",\"level\":\"warning\",\"code\":\"RELATIONSHIP_GRAPH_APPEARANCE_INVALID\",\"description\":\"Verifica skin e tom de veredito permitidos pelo catálogo Praxis.\"},{\"validatorId\":\"remote-resource-binding-safe\",\"level\":\"error\",\"code\":\"RELATIONSHIP_GRAPH_RESOURCE_PATH_INVALID\",\"description\":\"Exige resourcePath relativo válido e não vazio antes de habilitar leitura remota.\"},{\"validatorId\":\"rule-condition-json-logic-valid\",\"level\":\"error\",\"code\":\"RELATIONSHIP_GRAPH_RULE_INVALID\",\"description\":\"Valida que cada regra condicional possui id estável e condição JSON Logic serializável.\"},{\"validatorId\":\"action-reference-exists\",\"level\":\"error\",\"code\":\"RELATIONSHIP_GRAPH_ACTION_MISSING\",\"description\":\"Verifica existência prévia da ação em actions[] antes da remoção.\"}]}",
|
|
15662
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15663
|
+
"contentHash": "0d62decba49c43779582f240d0bd2007da4ed2b6c058c894e5362932c2467b7f",
|
|
15664
|
+
"sourceKind": "component_definition",
|
|
15665
|
+
"sourceId": "praxis-relationship-graph",
|
|
15666
|
+
"corpusVersion": "1.0.0"
|
|
15667
|
+
},
|
|
15668
|
+
{
|
|
15669
|
+
"chunkIndex": 12,
|
|
15670
|
+
"chunkKind": "authoring_manifest",
|
|
15671
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"roundTripRequirements\",\"roundTripRequirements\":[\"Preservar propriedades de taxonomy, groups, sources, verdict, mapping, rules e actions sem perda após edição via Settings Panel.\",\"Manter compatibilidade entre edges[] e links[] na normalização do dataset.\"]}",
|
|
15672
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15673
|
+
"contentHash": "25708c528988a309bcd531a64db55495703c02415abcdf26aebafa15bc0c9292",
|
|
15674
|
+
"sourceKind": "component_definition",
|
|
15675
|
+
"sourceId": "praxis-relationship-graph",
|
|
15676
|
+
"corpusVersion": "1.0.0"
|
|
15677
|
+
},
|
|
15678
|
+
{
|
|
15679
|
+
"chunkIndex": 13,
|
|
15680
|
+
"chunkKind": "authoring_manifest",
|
|
15681
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-relationship-graph\",\"ownerPackage\":\"@praxisui/list\",\"configSchemaId\":\"PraxisRelationshipGraphConfig\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"ex-layout-split-lr\",\"request\":\"Exibir o grafo em fluxo esquerda-direita com nós circulares e tabela sincronizada dividida\",\"operationId\":\"update-graph-layout\",\"params\":{\"algorithm\":\"layered-dag\",\"orientation\":\"LR\",\"nodeShape\":\"circle\",\"defaultViewMode\":\"split\",\"showLegend\":true},\"isPositive\":true},{\"id\":\"ex-meta-verdict\",\"request\":\"Definir título e veredito narrativo de alerta no topo do grafo\",\"operationId\":\"update-graph-meta\",\"params\":{\"title\":\"Análise de Vínculos\",\"verdict\":{\"title\":\"Risco Identificado\",\"summary\":\"Caminho de acesso validado por evidências observadas e contextuais.\",\"tone\":\"warning\"}},\"isPositive\":true},{\"id\":\"ex-remote-binding\",\"request\":\"Conectar o grafo ao endpoint REST /api/v1/audit/relationships\",\"operationId\":\"configure-remote-data-source\",\"params\":{\"resourcePath\":\"/api/v1/audit/relationships\"},\"isPositive\":true},{\"id\":\"ex-node-rule\",\"request\":\"Destacar em danger todos os nós do tipo risk\",\"operationId\":\"upsert-node-style-rule\",\"target\":\"highlight-risk-nodes\",\"params\":{\"id\":\"highlight-risk-nodes\",\"label\":\"Destacar nós críticos\",\"tone\":\"danger\",\"condition\":{\"===\":[{\"var\":\"type\"},\"risk\"]}},\"isPositive\":true},{\"id\":\"ex-remove-action\",\"request\":\"Remover a ação obsoleta export-snapshot do grafo\",\"operationId\":\"remove-graph-action\",\"target\":\"export-snapshot\",\"params\":{\"id\":\"export-snapshot\"},\"isPositive\":true},{\"id\":\"ex-negative-invalid-algorithm\",\"request\":\"Configurar um algoritmo desconhecido galaxy-3d no grafo\",\"operationId\":\"update-graph-layout\",\"params\":{\"algorithm\":\"galaxy-3d\"},\"isPositive\":false}]}",
|
|
15682
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/praxis-relationship-graph-authoring-manifest.ts",
|
|
15683
|
+
"contentHash": "9d003d007c5e870ebb5418c9915c89d77a738bacb2384a6ab6bf8aba413d7bd0",
|
|
15684
|
+
"sourceKind": "component_definition",
|
|
15685
|
+
"sourceId": "praxis-relationship-graph",
|
|
15686
|
+
"corpusVersion": "1.0.0"
|
|
15687
|
+
},
|
|
15688
|
+
{
|
|
15689
|
+
"chunkIndex": 14,
|
|
15690
|
+
"chunkKind": "context_pack",
|
|
15691
|
+
"content": "{\"componentContext\":{\"version\":\"1.0.0\",\"optionsByPath\":{\"layout.algorithm\":{\"mode\":\"enum\",\"options\":[{\"value\":\"layered-dag\",\"label\":\"Camadas (Sugiyama DAG)\"},{\"value\":\"ego-radial\",\"label\":\"Ego-Radial (N-saltos)\"},{\"value\":\"force-spring\",\"label\":\"Force-Spring Determinístico\"}]},\"layout.orientation\":{\"mode\":\"enum\",\"options\":[{\"value\":\"LR\",\"label\":\"Esquerda → Direita\"},{\"value\":\"TB\",\"label\":\"Topo → Base\"}]},\"layout.nodeShape\":{\"mode\":\"enum\",\"options\":[{\"value\":\"circle\",\"label\":\"Emblema Circular + Legenda Inferior\"},{\"value\":\"card\",\"label\":\"Card Completo com Badges\"},{\"value\":\"pill\",\"label\":\"Pílula Compacta\"},{\"value\":\"diamond\",\"label\":\"Losango / Decisão\"}]},\"layout.defaultViewMode\":{\"mode\":\"enum\",\"options\":[{\"value\":\"graph\",\"label\":\"Somente Grafo\"},{\"value\":\"split\",\"label\":\"Grafo + Tabela Sincronizada\"},{\"value\":\"table\",\"label\":\"Somente Tabela\"}]},\"appearance.skin\":{\"mode\":\"enum\",\"options\":[{\"value\":\"elevated\",\"label\":\"Elevado (Padrão Praxis)\"},{\"value\":\"outline\",\"label\":\"Contorno Limpo\"},{\"value\":\"flat\",\"label\":\"Plano\"},{\"value\":\"glass\",\"label\":\"Translúcido\"}]},\"actions[].scope\":{\"mode\":\"enum\",\"options\":[{\"value\":\"node\",\"label\":\"Somente Nó\"},{\"value\":\"edge\",\"label\":\"Somente Aresta\"},{\"value\":\"both\",\"label\":\"Nó e Aresta\"}]}},\"actionCatalog\":[{\"id\":\"set-relationship-graph-layout\",\"intentExamples\":[\"Mudar o grafo para layout ego-radial\",\"Exibir o grafo de cima para baixo (TB)\",\"Usar formato circular nos nós como no Attack Graph\"],\"operation\":\"update\",\"requiresExistingTarget\":false,\"scope\":\"GLOBAL\",\"valueType\":\"OBJECT\",\"patchTemplate\":{\"layout\":{\"algorithm\":\"{{params.algorithm}}\",\"orientation\":\"{{params.orientation}}\",\"nodeShape\":\"{{params.nodeShape}}\"}},\"params\":[{\"name\":\"algorithm\",\"type\":\"ENUM\",\"options\":[\"layered-dag\",\"ego-radial\",\"force-spring\"],\"description\":\"Algoritmo determinístico de layout.\"},{\"name\":\"orientation\",\"type\":\"ENUM\",\"options\":[\"LR\",\"TB\"],\"description\":\"Direção para layered-dag.\"},{\"name\":\"nodeShape\",\"type\":\"ENUM\",\"options\":[\"circle\",\"card\",\"pill\",\"diamond\"],\"description\":\"Formato padrão dos nós.\"}]},{\"id\":\"set-relationship-graph-view-mode\",\"intentExamples\":[\"Abrir visualização dividida com grafo e tabela sincronizada\",\"Mostrar a tabela auditável junto ao grafo\"],\"operation\":\"update\",\"requiresExistingTarget\":false,\"scope\":\"GLOBAL\",\"valueType\":\"ENUM\",\"defaultValue\":\"split\",\"patchTemplate\":{\"layout\":{\"defaultViewMode\":\"{{params.defaultViewMode}}\",\"showTableToggle\":true}},\"params\":[{\"name\":\"defaultViewMode\",\"type\":\"ENUM\",\"options\":[\"graph\",\"split\",\"table\"],\"description\":\"Modo de visualização inicial.\"}]},{\"id\":\"add-relationship-graph-node-style-rule\",\"intentExamples\":[\"Destacar em vermelho nós cujo risco seja crítico via JSON Logic\"],\"operation\":\"create\",\"requiresExistingTarget\":false,\"scope\":\"GLOBAL\",\"valueType\":\"OBJECT\",\"patchTemplate\":{\"rules\":{\"nodeStyles\":[{\"id\":\"{{params.id}}\",\"label\":\"{{params.label}}\",\"tone\":\"{{params.tone}}\",\"condition\":\"{{params.condition}}\"}]}},\"params\":[{\"name\":\"id\",\"type\":\"STRING\",\"description\":\"Identificador único da regra.\"},{\"name\":\"label\",\"type\":\"STRING\",\"description\":\"Descrição legível da regra.\"},{\"name\":\"tone\",\"type\":\"ENUM\",\"options\":[\"neutral\",\"primary\",\"info\",\"success\",\"warning\",\"danger\",\"violet\"],\"description\":\"Tom aplicado aos nós compatíveis.\"}]}],\"fieldResolvers\":{\"nodeFields\":[\"id\",\"type\",\"label\",\"subtitle\",\"status\",\"groupId\",\"sourceRefs\"],\"edgeFields\":[\"id\",\"source\",\"target\",\"relation\",\"evidence\",\"confidence\",\"timestamp\",\"sourceRefs\"]},\"hints\":[\"Aceita tanto edges[] quanto links[] (alias compartilhado com gráficos de fluxo/Sankey) e mapeia tudo para NormalizedRelationshipEdge.\",\"Sempre preserve fontes numeradas (sources[] + sourceRefs[]) e evidenciação visual distinta (observed/contextual/inferred) nas recomendações.\"]}}",
|
|
15692
|
+
"sourcePointer": "projects/praxis-list/src/lib/ai/relationship-graph-context-pack.ts",
|
|
15693
|
+
"contentHash": "41bb28ff44b81ce568e19b674ad0a67238c968087e7a0db5f64a301281f4e867",
|
|
15694
|
+
"sourceKind": "component_definition",
|
|
15695
|
+
"sourceId": "praxis-relationship-graph",
|
|
15696
|
+
"corpusVersion": "1.0.0"
|
|
15697
|
+
}
|
|
15698
|
+
]
|
|
15699
|
+
},
|
|
13480
15700
|
"praxis-roster-matrix": {
|
|
13481
15701
|
"id": "praxis-roster-matrix",
|
|
13482
15702
|
"description": "Shift, capacity, and weekday allocation grid driven by PraxisSchemaScheduleMetadata (x-ui.schedule).",
|