Open rob-metalinkage opened 2 years ago
This might be best handled by implementing a UI framework, like Vue.js, and then having components that can be added as the plugins.
@jamiefeiss: can you comment here on how you would see this working with Vue.js?
We could have some config on whether these widgets would appear (and potentially give different visualisation options), and develop some of these widgets internally.
In the case of external components as plug-ins, there are some mechanisms in Vue that may accomplish this (like globally registering plug-in components and using dynamic components), but I'm not sure yet.
per discussion - widgets as vue.js components, driven by data-configurable APIs delivering JSON-LD frames (i.e. stable schemas).
initial list of basic widgets we might want to develop:
See Issue RDFLib/prez-ui#1 for discussion about a specific Widget - Neighbours.
Provide a plug-in mechanism for customised rendering of sets of properties - (not just one) - such as d3 graph widgets showing neighbourhood on a set of object property relationships.
e.g. a profile - show isProfileOf and ^isProfileOf relationships