as of now the mapping of domain class to the nodespace does not use any
properties on relationships.
Domain classes have a injected method "getNode()" to have access to the
node representing the domain class instance. So you might use:
def myDomainInstance = DomainClass.findByXXXXXX
def rel = myDomainInstance.node.getRelationship(type, direction)
rel.setProperty("mykey","myvalue")
where type and direction depend on the domain class relation you want to
follow.
If you have a generic use case for this, please file a feature request
at https://github.com/SpringSource/grails-data-mapping/issues.
Regards,
Stefan