better yaml graph output
fixed bug in equality checking