loopback-component-model-diagram

Generate a diagram of your loopback models

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
loopback-component-model-diagram
3010.4.26 years ago8 years agoMinified + gzip package size for loopback-component-model-diagram in KB

Readme

loopback-component-model-diagram !NPM versionnpm-imagenpm-url
Generate a diagram of your loopback models

It generates a nomnoml code and provides a simple page to display it.

Requirements

The loopback-component-model-diagram requires loopback version >= 2.

Installation

$ npm install --save loopback-component-model-diagram

Options

You can set some options in the component-config.json file.
mountPath: String
Default: /modeldiagram
Set the path where to mount the model diagram component.

directives: Object
Sets the default directives to the generated source code. See directivesnomnoml-directives of the nomnoml package.