Skip to content

dmitry-ilin/loopback-component-model-diagram

 
 

Repository files navigation

loopback-component-model-diagram NPM version

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 directives of the nomnoml package.

About

Generate a diagram of your loopback models

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 79.0%
  • CSS 14.2%
  • HTML 6.8%