Topology driven, local computation graph algorithms