You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Read a property from projected nodes ordered by their value descending. Variables: dependencies_projection, dependencies_projection_write_property. Requires "Add_file_name and_extension.cypher", "Set_localRootPath_for_modules", "Set_declaring_type_on_method_nodes".
CALL gds.graph.nodeProperties.stream(
$dependencies_projection + '-cleaned'
,[$dependencies_projection_write_property]
)
YIELD nodeId, nodeProperty, propertyValue
WITH gds.util.asNode(nodeId) AS codeUnit
,nodeProperty AS propertyName
,propertyValue
WITH *, coalesce(codeUnit.declaringType + ': ', '') +
coalesce(codeUnit.rootProjectName + '/', '') +
coalesce(codeUnit.signature, codeUnit.name) AS codeUnitNameWithDetails
RETURN DISTINCT coalesce(codeUnit.fqn, codeUnitNameWithDetails, codeUnit.fileName, codeUnit.name) AS codeUnitName
,codeUnit.name AS shortCodeUnitName
,propertyName
,propertyValue
ORDER BY propertyValue DESCENDING, codeUnitName ASCENDING