Steps to reproduce:
1) Create a host with single item and graph having that item.
2) Export host.
3) Delete value from graph's <name> field from XML.
4) Import it back.
Host and graph is successfully imported but graph has no name so it's impossible to open graph's edit screen.