theia-ide / sprotty

A next-gen web-based graphics framework
Apache License 2.0
138 stars 23 forks source link

Support pre-rendered elements #62

Closed spoenemann closed 7 years ago

spoenemann commented 7 years ago

We should support elements that have their SVG figure attached as a property. This would speed up the prototyping phase of a Sprotty application since there's no need to create special views for pre-rendered elements (implement a generic PreRenderedView). It would also support use cases where the SVG code is already available on the server side, so it shouldn't be duplicated on the client side, e.g. large libraries of node figures.

spoenemann commented 7 years ago

The snabbdom-virtualize npm package might be an option.