You can customize a query for an existing topic diagram if you want to change its context or level of detail. When you customize the topic query, you cannot change individual diagram elements; you must change the query for the entire diagram.
You must have a topic diagram open in the diagram editor.