This is a micro-frontend module that provides the means to interact with images in a federated (Consolid) multi-model. Once a project is activated, any image resource in the project will be discovered via its metadata description. The user can then select the image to be loaded into the viewer. The viewer is based on React-image-annotate. Sub-image pixel zones can be created and selected in the viewer. Selection of an existing pixel zone in the viewer will trigger a query to the Reference Registries in the multi-model, which will return the other representations of this element (e.g. geometry, point clouds, semantics). These representations can then be loaded in other modules. The inverse pattern also works: any selection made by another module that contains an element which is also present in the current image, will be highlighted. The below image shows this interaction, based on the Damage Enrichment configuration.
Mifesto (Micro-Frontend Store) is an experimental framework for federation of micro-frontends. It is a work in progress and is not yet ready for production use. Micro-frontend modules expose the following:
- a manifest file that describes the module and its dependencies
- loadable code which may be injected into a "bundler" application
The bundler application is responsible for loading the micro-frontend modules and providing a framework for them to interact with each other. The bundler application is also responsible for providing an interface for the micro-frontend modules to render into. Mifesto modules may or may not be compatible with the ConSolid ecosystem, or generally with AEC multi-models. To be useful for interacting with multi-models, a minimal functionality is required. This functionality is described in the Mifesto documentation.
