Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 524 Bytes

File metadata and controls

17 lines (14 loc) · 524 Bytes

react-composition-map

Creates a composition map over components in a react project

Rembember to install graphviz from http://www.graphviz.org/ and add bin to path**********

Example usage: var doc = require('react-composition-map'); var options = { "components":"./frontend/components/*.jsx", //folder to components in react project "singleFiles":[ //Add single files if you want them included "./frontend/main.jsx" ], "format":"svg", "output":"./map.svg" };

doc.generateDoc(options);