usergraphtheory's picture
Sync from erdostack/bench at a7805c45d77258d316383c92bdc9f472498d255f (part 51)
d2badd4 verified
|
Raw History Blame Contribute Delete
239 Bytes

Model

(:Bin {code, zone})-[:IN_AISLE]->(:Aisle {name})
(:Bin)-[:NEXT_TO]->(:Bin)        // stored once per pair, queried in both directions

NEXT_TO has no distance: bins are a fixed pitch apart, so steps are counted instead.