0.1.24 • Published 8 years ago

schesign-js-graph-utils v0.1.24

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Schesign graph utils

Schesign allows you to build and host data designs. Data designs can be accessed through the API as a graph in JSON format. See schesign-js-api for info on retrieving a graph.

This library contains the graph spec and various utilities to programatically generate and manage a schesign graph.

Install

npm install schesign-js-graph-utils --save

Generating a design

  import { Design, ClassNode, PropertyNode } from 'schesign-js-graph-utils'

  const design = new Design()

  const product = new ClassNode({ label: 'Product' })
  const user = new ClassNode({ label: 'User' })
  const shoppingCart = new ClassNode({ label: 'ShoppingCart' })

  const upc = new PropertyNode({ label: 'upc' })

Notes

  • should add a test for recursive nested objects
  • rangeTypes.Text should take more params for types
0.1.24

8 years ago

0.1.23

8 years ago

0.1.22

8 years ago

0.1.21

8 years ago

0.1.20

8 years ago

0.1.19

8 years ago

0.1.18

8 years ago

0.1.17

8 years ago

0.1.16

8 years ago

0.1.15

8 years ago

0.1.14

8 years ago

0.1.13

8 years ago

0.1.12

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago