I understand you, but I do not understand how it can be used for Preflop Diagrams. Your proposal can be useful for equity calculators for example, but not here.
You can make Badges using our Expression syntax.
After that, when you will insert your Badge into HUD you will be able to set conditions for it with HUD editor as well as for filters.