Separate attribute definition from graph item