Use guard unless style
Output tags to the list of live nodes
Align
Output dead nodes also
Handle nodes status correctly