Sprite
semagrams.Sprite
trait Sprite
A Sprite contains the information necessary to turn a sub-ACSet into a reactive SVG on the screen.
TODO: Sprites should have an "injection" method for statically computing some layout that they want to have available for boundaryPt/bbox queries, or simply adding default properties. This injection is called before present, and the result is saved in the EntityMap. Currently, each sprite has some custom code for being able to have defaults; that should not be custom because then it is inconsistent.
Attributes
- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Known subtypes
- class Arrowclass DPBoxclass Discclass GenericHTMLSpriteclass Rectclass Wireclass WireStubclass WithMiddleware