I made a framework for animating SVG diagrams from data obtained via a REST query. This uses class to define the object type to be animated and other attributes to specify data to that class such as its partial path in a tree structure, the rest being derived from its nesting with other objects. So, this leads on to the request that we should have, not just class but any attribute name.
A -[alias="somePath\",class=ClassA ClassB]-> B:test