that is the incorrect syntax for that procedure. It is expecting a string for the first parameter that specifies the projected graph to execute the algorithm against.
I tried projecting with native graph. And then using louvian, but my question now is , how to set seedproperty and relationshipweightproperty?
After that, In this query, I see they used seedproperty.
CALL gds.louvain.stream('myGraph', { seedProperty: 'seed' })
YIELD nodeId, communityId, intermediateCommunityIds
RETURN gds.util.asNode(nodeId).name AS name, communityId, intermediateCommunityIds
ORDER BY name ASC
and here relationshipWeightProperty
CALL gds.louvain.stream('myGraph', { relationshipWeightProperty: 'weight' })
YIELD nodeId, communityId, intermediateCommunityIds
RETURN gds.util.asNode(nodeId).name AS name, communityId, intermediateCommunityIds
ORDER BY name ASC