Replace freeform node/edge attributes with dropdowns