Show detailed information about a specific content node including its content, type, page, bounding box, parent path, and optionally its features, tags, and children.
Usage
kdx document node <node-id> <file.kddb> [flags]
Flags
| Flag | Description | Default |
|---|
--features | Include node features | false |
--tags | Include tags list | false |
--children | Include children summary | false |
Examples
Basic Node Inspection
kdx document node 42 doc.kddb
{
"nodeId": 42,
"type": "line",
"content": "Total Revenue: $1,234,567",
"page": 3,
"bbox": {"x1": 72.0, "y1": 340.2, "x2": 540.0, "y2": 352.8},
"parentPath": "root/page/content-area"
}
kdx document node 42 doc.kddb --tags --features
{
"nodeId": 42,
"type": "line",
"content": "Total Revenue: $1,234,567",
"page": 3,
"parentPath": "root/page/content-area",
"tags": [
{"name": "invoice/total", "value": "$1,234,567", "confidence": 0.95}
],
"features": [
{"type": "spatial:bbox", "data": {"x1": 72.0, "y1": 340.2}}
]
}
With Children
kdx document node 1 doc.kddb --children
Use node to inspect nodes found via locate or find before tagging them, to verify you have the right content.