Text this: Networks of queues with state-dependent flows