RDFLib / prez-ui

BSD 3-Clause "New" or "Revised" License
10 stars 6 forks source link

Configurable display widgets #3

Open rob-metalinkage opened 2 years ago

rob-metalinkage commented 2 years ago

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

nicholascar commented 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?

jamiefeiss commented 2 years ago

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.

rob-metalinkage commented 2 years ago

per discussion - widgets as vue.js components, driven by data-configurable APIs delivering JSON-LD frames (i.e. stable schemas).

rob-metalinkage commented 2 years ago

initial list of basic widgets we might want to develop:

nicholascar commented 2 years ago

See Issue RDFLib/prez-ui#1 for discussion about a specific Widget - Neighbours.