Hello, is there a nice way of getting some sort of hash representation of a node (that would include children etc)?...

This is an auto-generated question from the MPS Slack community: Hello, is there a nice way of getting some sort of hash representation of a node (that would include children etc)?
0
5 comments
I guess you would calculate it by traversal/visiting of SNode.getProperties + SNode.getChildren + SNode.getConcept , but maybe I am missing some other important data
0
I think, Slack user:U6L4B9THU> implemented something for the modelix analog to the git hashes
0
You can use com.mbeddr.mpsutil.serializer.xml.serializer.NodeSerializer to serialize a node into a string before computing the hash.
0
Awesome, thanks both!
0
This is auto-generated question from the MPS Community Slack Workspace. If you want to comment on the question, do it from the Slack workspace
0

Post is closed for comments.