A type attribute is obligatory in a graph, object,
relationship, role, port or property tag (unless there is an href attribute,
which allows no other content). The value of the type attribute can be either
the user-visible name of the type, or the unique internal type name. The latter
is used when exporting.