Skip to content

Commit ea1e29e

Browse files
committed
Add a section to the doc
1 parent 50da0e4 commit ea1e29e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/source/user_guide_kg_builder.rst

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,18 @@ Configuration Options
10311031
- If set to ``False``, only patterns defined in the schema are kept. **Note** `additional_relationship_types` must also be `False`.
10321032

10331033

1034+
1035+
Enforcement rules
1036+
_________________
1037+
1038+
In addition to the user-defined configuration options described above,
1039+
the `GraphPruning` component performs the following cleanup operations:
1040+
1041+
- Nodes with missing required properties are pruned.
1042+
- Nodes with no remaining properties are pruned.
1043+
- Relationships with invalid source or target nodes (i.e., nodes no longer present in the graph) are pruned.
1044+
- Relationships with incorrect direction have their direction corrected.
1045+
10341046
.. _kg-writer-section:
10351047

10361048
Knowledge Graph Writer

0 commit comments

Comments
 (0)