Coder Social home page Coder Social logo

johnmcswain / webgme-taxonomy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from webgme/webgme-taxonomy

0.0 0.0 0.0 10.87 MB

A design studio for creating taxonomies which can then be used to tag various resources.

License: MIT License

JavaScript 76.92% TypeScript 16.70% CSS 0.30% HTML 0.34% EJS 0.16% SCSS 0.38% Svelte 5.15% Dockerfile 0.05%

webgme-taxonomy's Introduction

webgme-taxonomy

Installation

First, install the webgme-taxonomy following:

Second, start mongodb locally by running the mongod executable in your mongodb installation (you may need to create a data directory or set --dbpath).

Then, run npm start from the project root to start . Finally, navigate to http://localhost:8888 to start using webgme-taxonomy!

Creating a Taxonomy

The easiest way to create a taxonomy is to simply import a CSV file. Here are the steps:

  • First, create a taxonomy in a spreadsheet where properties have (text), (int), (bool), (enum), (set), etc, appended to the given property name. Each child term/property should be on a line below the parent and indented by 1 cell. Next, export the page as a CSV. An example as a CSV is shown below:
    parentTerm,,,
    ,childTerm,,,
    ,,name (text),
    ,,age (int),
    ,,color (enum),
    ,,,red
    ,,,blue
    ,,,green
    
  • Next, use ./bin/taxonomy-from-csv <path-to-csv> > taxonomy.json to generate a JSON representation that can be imported into the environment.
  • Create a new project in the design studio and import the taxonomy seed as a library.
  • Create a new Taxonomy node in the root node.
  • Enable the SetStateFromJSON plugin for this new node.
  • Run SetStateFromJSON on this new Taxonomy node with the taxonomy.json file generated in the second step.
  • All done!

Integrated Tools

There are a few integrated tools in the design studio which are automatically configured using projects in the design studio:

  • Search Dashboard: This is a web-based dashboard for viewing data associated with terms in the taxonomy. Currently, only Microsoft Premonition Data Platform is supported to store artifacts but this shouldn't be hard to generalize. (Generalization has been the hopes :).)
  • Taxonomy Term Creator (Form): This is a web-based form for selecting terms given the taxonomy defined in the studio.

Misc To Do

  • use it for webgme libraries?
    • publish from within webgme
    • define a taxonomy
    • storage adapter?
      • mongodb, right?
        • MongoDB+Blob
      • configuration opts:
        • collection name
          • validation so not colliding with others

webgme-taxonomy's People

Contributors

brollb avatar dax-westerman avatar kecso avatar romancow avatar yogeshvu avatar johnmcswain avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.