see entryPoint
see title
The entry point: the journal can render this context and all of its children
title of the journal
Registered widgets that are used to render the data property of a Log if possible (if the function [[JournalWidget.isCompatible]] apply to this data return true).
Returns the (instantiated) views compatible with given source data
source data
instantiated view with name and description of the factory used
Register a new factory to display some data using a specific view.
It allows for flux-pack developer (or host applications) to register custom views to help the builder of flux applications understanding module's processes.
An example is provided in the class documentation.
description
a function that takes data as argument and return true if it can be processed by the factory to create a view
name of the factory
a function that takes a data as argument (for which isCompatibe(data) is true) and return an HTMLElement
Generated using TypeDoc
Journal
The Journal class encapsulates the required information to render a Context (and its children) in an HTML document.
The class gathers:
Registering a custom view
Below is an example of a module willing to provide feedbacks on a convergence process as it goes. Looking at the journal while the module is running would present a 2D graph with live updates.
The library flux-view is used in the example, the same can most likely be done with your favorite library (an HTMLElement is required at the end).