This is a prototype of how "pluggable cell outputs" (user creatable visualizations) might work in Data-Forge Notebook v2.
Click here to contribute to the discussion
Follow the developer on Twitter for more frequent news and updates
Click for the main DFN code repository
- child-page/
- A static web page that emulates how a DFN v2 output plugin might be created.
- parent-page/
- Demonstration of how DFN v2 will embed an output plugin using an iframe.
You need Git and Node.js installed.
Open a terminal and clone this repository:
git clone https://github.com/data-forge-notebook/pluggable-output-prototype.git
Change directory into the local code repository:
cd pluggable-output-prototype
Run the build and server for the child web page:
cd child-page
npm install
npm start
Open a new terminal and run the parent-page in Electron:
cd parent-page
npm install
npm run electron
Open a new terminal and run the dev server for the parent web page:
cd parent-page
npm install
npm start
Open the web page for the parent (http://127.0.0.1:5001) and check the console. You'll see output of a message from the parent to the child, and then from the child to the parent.