Skip to content

Commit 1110c23

Browse files
committed
Automated cypher reference document generation (CI)
1 parent f17588b commit 1110c23

File tree

1 file changed

+16
-5
lines changed

1 file changed

+16
-5
lines changed

cypher/CYPHER.md

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Script | Directory | Description
99
| [Adding_the_artifact_name_temporarily_to_a_new_virtual_node_using_APOC.cypher](./Adding_the_artifact_name_temporarily_to_a_new_virtual_node_using_APOC.cypher) | | Adding the artifact name temporarily to a new virtual node using APOC. Doesn't take all relationships into account and therefore doesn't work yet. |
1010
| [Adding_the_artifact_name_temporarily_to_the_Package_node_using_map_projection.cypher](./Adding_the_artifact_name_temporarily_to_the_Package_node_using_map_projection.cypher) | | Adding the artifact name temporarily to the Package node using map projection |
1111
| [Artifacts_with_dependencies_to_other_artifacts.cypher](./Artifact_Dependencies/Artifacts_with_dependencies_to_other_artifacts.cypher) | Artifact_Dependencies | Artifacts with dependencies to other artifacts |
12+
| [Artifacts_with_duplicate_packages.cypher](./Artifact_Dependencies/Artifacts_with_duplicate_packages.cypher) | Artifact_Dependencies | Artifacts with the same full qualified package name (duplicate packages). These can lead to confusion and provide access to package protected classes to another artifact that might not be intended. |
1213
| [Incoming_Artifact_Dependencies.cypher](./Artifact_Dependencies/Incoming_Artifact_Dependencies.cypher) | Artifact_Dependencies | Incoming Artifact Dependencies |
1314
| [Most_used_internal_dependencies_acreoss_artifacts.cypher](./Artifact_Dependencies/Most_used_internal_dependencies_acreoss_artifacts.cypher) | Artifact_Dependencies | Most used internal dependencies across artifacts |
1415
| [Outgoing_Artifact_Dependencies.cypher](./Artifact_Dependencies/Outgoing_Artifact_Dependencies.cypher) | Artifact_Dependencies | Outgoing Artifact Dependencies |
@@ -89,6 +90,7 @@ Script | Directory | Description
8990
| [Community_Detection_7d_Modularity.cypher](./Community_Detection/Community_Detection_7d_Modularity.cypher) | Community_Detection | Community Detection Modularity |
9091
| [Community_Detection_7d_Modularity_Members.cypher](./Community_Detection/Community_Detection_7d_Modularity_Members.cypher) | Community_Detection | Community Detection Modularity Members |
9192
| [Community_Detection_7e_Write_Modularity.cypher](./Community_Detection/Community_Detection_7e_Write_Modularity.cypher) | Community_Detection | Community Detection Modularity Write |
93+
| [Community_Detection_Summary.cypher](./Community_Detection/Community_Detection_Summary.cypher) | Community_Detection | Community Detection Summary. Variables: dependencies_projection_node ("Artifact", "Package", "Type") |
9294
| [Compare_Louvain_vs_Leiden_Results.cypher](./Community_Detection/Compare_Louvain_vs_Leiden_Results.cypher) | Community_Detection | Compare Louvain vs. Leiden Community Detection Results. Variables: dependencies_projection_node (e.g. "Artifact", "Package", "Type") |
9395
| [Get_all_Packages_with_a_Community_Detection_Label.cypher](./Community_Detection/Get_all_Packages_with_a_Community_Detection_Label.cypher) | Community_Detection | Get all Packages with a Community Detection Label |
9496
| [Set_Parameters.cypher](./Community_Detection/Set_Parameters.cypher) | Community_Detection | Example on how to set the parameters for community detaction in this case for Packages and Leiden |
@@ -113,7 +115,9 @@ Script | Directory | Description
113115
| [Dependencies_2_Delete_Subgraph.cypher](./Dependencies_Projection/Dependencies_2_Delete_Subgraph.cypher) | Dependencies_Projection | Delete filtered subgraph projection if exists. Variables: dependencies_projection |
114116
| [Dependencies_3_Create_Projection.cypher](./Dependencies_Projection/Dependencies_3_Create_Projection.cypher) | Dependencies_Projection | Create directed projection. Variables: dependencies_projection, dependencies_projection_node, dependencies_projection_weight_property |
115117
| [Dependencies_3b_Create_Multi_Relationship_Projection.cypher](./Dependencies_Projection/Dependencies_3b_Create_Multi_Relationship_Projection.cypher) | Dependencies_Projection | Create multi relationship projection. Variables: dependencies_projection, dependencies_projection_node |
118+
| [Dependencies_3c_Create_Type_Projection.cypher](./Dependencies_Projection/Dependencies_3c_Create_Type_Projection.cypher) | Dependencies_Projection | Create filtered Type node projection without zero-degree nodes, external types, java types or duplicates. Variables: dependencies_projection. Requires 'Label_base_java_types', 'Label_buildin_java_types' and 'Label_resolved_duplicate_types' of 'Types' directory. |
116119
| [Dependencies_4_Create_Undirected_Projection.cypher](./Dependencies_Projection/Dependencies_4_Create_Undirected_Projection.cypher) | Dependencies_Projection | Create undirected projection. Variables: dependencies_projection, dependencies_projection_node, dependencies_projection_weight_property |
120+
| [Dependencies_4c_Create_Undirected_Type_Projection.cypher](./Dependencies_Projection/Dependencies_4c_Create_Undirected_Type_Projection.cypher) | Dependencies_Projection | Create filtered Type node projection without zero-degree nodes, external types, java types or duplicates. Variables: dependencies_projection. Requires 'Label_base_java_types', 'Label_buildin_java_types' and 'Label_resolved_duplicate_types' of 'Types' directory. |
117121
| [Dependencies_5_Create_Subgraph.cypher](./Dependencies_Projection/Dependencies_5_Create_Subgraph.cypher) | Dependencies_Projection | Create filtered subgraph projection without zero-degree nodes. Variables: dependencies_projection, dependencies_projection_node |
118122
| [Dependencies_6_Check_Projection_Nodes.cypher](./Dependencies_Projection/Dependencies_6_Check_Projection_Nodes.cypher) | Dependencies_Projection | Check Projection Node Properties |
119123
| [Dependencies_7_Check_Projection_Relationships.cypher](./Dependencies_Projection/Dependencies_7_Check_Projection_Relationships.cypher) | Dependencies_Projection | Check Projection Relationships |
@@ -143,7 +147,7 @@ Script | Directory | Description
143147
| [External_second_level_package_usage_per_artifact_and_external_package.cypher](./External_Dependencies/External_second_level_package_usage_per_artifact_and_external_package.cypher) | External_Dependencies | External second level package usage per artifact and external package |
144148
| [External_second_level_package_usage_spread.cypher](./External_Dependencies/External_second_level_package_usage_spread.cypher) | External_Dependencies | External second level package usage spread |
145149
| [External_types_per_artifact_using_requires.cypher](./External_Dependencies/External_types_per_artifact_using_requires.cypher) | External_Dependencies | External types per artifact using requires |
146-
| [Label_external_types_and_annotations.cypher](./External_Dependencies/Label_external_types_and_annotations.cypher) | External_Dependencies | Label external types and annotations |
150+
| [Label_external_types_and_annotations.cypher](./External_Dependencies/Label_external_types_and_annotations.cypher) | External_Dependencies | Label external types and external annotations. Requires 'Label_base_java_types', 'Label_buildin_java_types' and 'Label_resolved_duplicate_types' of 'Types' directory. |
147151
| [List_external_types_used.cypher](./External_Dependencies/List_external_types_used.cypher) | External_Dependencies | List external types used |
148152
| [Maven_POMs_and_their_declared_dependencies.cypher](./External_Dependencies/Maven_POMs_and_their_declared_dependencies.cypher) | External_Dependencies | Maven POMs and their declared dependencies |
149153
| [Remove_external_type_and_annotation_labels.cypher](./External_Dependencies/Remove_external_type_and_annotation_labels.cypher) | External_Dependencies | Remove external type and annotation labels |
@@ -210,12 +214,19 @@ Script | Directory | Description
210214
| [Set_Parameters.cypher](./Similarity/Set_Parameters.cypher) | Similarity | Example on how to set the parameters for similarity in this case for Packages and Node Similarity |
211215
| [Similarity_1a_Estimate.cypher](./Similarity/Similarity_1a_Estimate.cypher) | Similarity | Similarity Estimate Memory |
212216
| [Similarity_1b_Statistics.cypher](./Similarity/Similarity_1b_Statistics.cypher) | Similarity | Similarity Statistics |
213-
| [Similarity_1c_Stream.cypher](./Similarity/Similarity_1c_Stream.cypher) | Similarity | Similarity Stream |
214-
| [Similarity_1d_Delete_Relationships.cypher](./Similarity/Similarity_1d_Delete_Relationships.cypher) | Similarity | Delete Relationship "SIMILAR" |
215-
| [Similarity_1e_Write.cypher](./Similarity/Similarity_1e_Write.cypher) | Similarity | Similarity Write |
216-
| [Similarity_1f_Write_Node_Properties.cypher](./Similarity/Similarity_1f_Write_Node_Properties.cypher) | Similarity | Write similar node names and their score per node |
217+
| [Similarity_1c_Mutate.cypher](./Similarity/Similarity_1c_Mutate.cypher) | Similarity | Similarity Mutate |
218+
| [Similarity_1d_Stream_Mutated.cypher](./Similarity/Similarity_1d_Stream_Mutated.cypher) | Similarity | Read the similarity relationship from the projection. Variables: dependencies_projection |
219+
| [Similarity_1e_Stream.cypher](./Similarity/Similarity_1e_Stream.cypher) | Similarity | Similarity Stream |
220+
| [Similarity_1f_Delete_Relationships.cypher](./Similarity/Similarity_1f_Delete_Relationships.cypher) | Similarity | Delete Relationship "SIMILAR" |
221+
| [Similarity_1g_Write_Mutated.cypher](./Similarity/Similarity_1g_Write_Mutated.cypher) | Similarity | Write the Similarity relationship from the projection into the Graph. Variables: dependencies_projection, dependencies_projection_write_property |
222+
| [Similarity_1h_Write.cypher](./Similarity/Similarity_1h_Write.cypher) | Similarity | Similarity Write |
223+
| [Similarity_1i_Write_Node_Properties.cypher](./Similarity/Similarity_1i_Write_Node_Properties.cypher) | Similarity | Write similar node names and their score per node |
217224
| [Topological_Sort_List.cypher](./Topological_Sort/Topological_Sort_List.cypher) | Topological_Sort | Topological Sort to list the properties topologicalSortIndex (e.g. build order) and maxDistanceFromSource (build level) for each code unit node. Needs graph-data-science plugin version >= 2.5.0 |
218225
| [Topological_Sort_Query.cypher](./Topological_Sort/Topological_Sort_Query.cypher) | Topological_Sort | Topological Sort to query the properties topologicalSortIndex (e.g. build order) and maxDistanceFromSource (build level) for each code unit node in topologicalSortIndex order. Needs graph-data-science plugin version >= 2.5.0 |
219226
| [Topological_Sort_Write.cypher](./Topological_Sort/Topological_Sort_Write.cypher) | Topological_Sort | Topological Sort to write the properties topologicalSortIndex (e.g. build order) and maxDistanceFromSource (build level) into the graph. Needs graph-data-science plugin version >= 2.5.0 |
227+
| [Label_base_java_types.cypher](./Types/Label_base_java_types.cypher) | Types | Label primitive Java types and void |
228+
| [Label_buildin_java_types.cypher](./Types/Label_buildin_java_types.cypher) | Types | Label build-in Java types |
229+
| [Label_resolved_duplicate_types.cypher](./Types/Label_resolved_duplicate_types.cypher) | Types | Label resolved duplicate types. |
230+
| [Remove_extended_type_labels.cypher](./Types/Remove_extended_type_labels.cypher) | Types | Remove external type and annotation labels |
220231
| [Global_relative_visibility_statistics_for_types.cypher](./Visibility/Global_relative_visibility_statistics_for_types.cypher) | Visibility | Global relative visibility statistics for types |
221232
| [Relative_visibility_public_types_to_all_types_per_package.cypher](./Visibility/Relative_visibility_public_types_to_all_types_per_package.cypher) | Visibility | Relative visibility: public types to all types per package |

0 commit comments

Comments
 (0)