DS18B20 network

Can a DS18B20 be used in a star network or do they have to be in a bus network?

Neither.

They are made for a "one-wire" system, which can be construed as either. Check the data sheets and also a useful tutorial at Hacktronics.

ok thank you