yewno-primo-facet-addon
v0.0.2
Published
This widget presents a mini Yewno Discover knowledge map on a webpage. Given a query via Primo, it fetches and renders the closest matching concept and its top related concepts from the Yewno concept graph.
Readme
Yewno Widget Primo Studio Addon
Overview
Add the Yewno Graph Widget to your Primo facet group.

Usage
Adding the Package to your view in primo-explore
run the following command from within your view's main directory to add it as a dependency.
$ npm install --save-dev yewno-primo-facet-addonthis should add the following line to your package.json file...
"yewno-primo-facet-addon": "^0.0.2"and add the contents of this repository (at that npm version) into a node_modules/yewno-primo-facet-addon
directory for your current view. the presence of this package should mean that the package was successfully
installed and added to your project.
Installing/Importing it
from here you'll have to edit your main.js (or config.module.js) file to import the package, and
add yewnoPrimoFacetAddon to the dependencies inside of your 'viewCustom' module.
import 'yewno-primo-facet-addon';
angular.module('viewCustom', ['angularLoad', 'yewnoPrimoFacetAddon']);