The concept of a checksum is based on object's property and would be returned as string, is same way python does it with hash(object) or class.__hash__()
for instance:
- its attributes ( key - pair )
- its geometry
where OID value would not be considered, since the OID value is always unique.
This would allow to compare two graph elements in two graph layers, for example
<SPAN class="keyword token">if</SPAN> ce<SPAN class="punctuation token">.</SPAN>computeChecksum<SPAN class="punctuation token">(</SPAN> graphNodeFromLayer1 <SPAN class="punctuation token">)</SPAN> <SPAN class="operator token">==</SPAN> \
ce<SPAN class="punctuation token">.</SPAN>computeChecksum<SPAN class="punctuation token">(</SPAN> graphNodeFromLayer2 <SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">:</SPAN>
<SPAN class="keyword token">print</SPAN> <SPAN class="string token">'Yikes'</SPAN>
<SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>