If the aim of having ext.graph support Vega 5 is met, we should have the VisualEditor module exclusively produce Vega 5 graphs. Existing Vega 2 graphs should be able to be converted to Vega 5 syntax seamlessly upon an edit.
Guide: https://vega.github.io/vega/docs/porting-guide/
What do we need?
- Creating new graphs with Vega 5 syntax only
- When editing old Vega 2 graphs, migrate them to Vega 5 syntax