(type: Kind, edge: Edge<any>)
| 329 | |
| 330 | /** @internal */ |
| 331 | const edgeHash = (type: Kind, edge: Edge<any>): number => |
| 332 | type === "directed" |
| 333 | ? Hash.hash(edge) |
| 334 | : Hash.optimize(Hash.hash(edge.data) ^ (Hash.hash(edge.source) + Hash.hash(edge.target))) |
| 335 | |
| 336 | /** @internal */ |
| 337 | const ProtoGraph = { |