I am trying to generate the diagram for ui-router.js file in windows machine
I have setup the node.js
i have setup the Grunt
installed the dependent package
npm install grunt-angular-architecture-graph --save-dev
npm install grunt-graphviz --save-dev
Error: Error: not found: dot
Error: Error: not found: dot
Error: Error: not found: dot
Error: Error: not found: dot
Error: Error: not found: dot
Error: Error: not found: dot
Error: Error: not found: dot
Error: Error: not found: dot
I am trying to generate the diagram for ui-router.js file in windows machine
I have setup the node.js i have setup the Grunt installed the dependent package npm install grunt-angular-architecture-graph --save-dev npm install grunt-graphviz --save-dev
package.json file
{ "name": "helloworld", "version": "0.1.0", "devDependencies": { "grunt": "^0.4.5", "grunt-angular-architecture-graph": "^0.2.6", "grunt-contrib-clean": "^1.0.0", "grunt-graphviz": "^0.1.1" } }
Gruntfile.js
Result
Initializing Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks. Reading package.json...OK Parsing package.json...OK Initializing config...OK
Registering "grunt-angular-architecture-graph" local Npm module tasks. Reading C:\GruntTest\node_modules\grunt-angular-architecture-graph\package.json...OK Parsing C:\GruntTest\node_modules\grunt-angular-architecture-graph\package.json...OK
Registering "grunt-graphviz" local Npm module tasks. Reading C:\GruntTest\node_modules\grunt-graphviz\package.json...OK Parsing C:\GruntTest\node_modules\grunt-graphviz\package.json...OK Loading "graphviz.js" tasks...OK
Registering "grunt-graphviz" local Npm module tasks. Reading C:\GruntTest\node_modules\grunt-graphviz\package.json...OK Parsing C:\GruntTest\node_modules\grunt-graphviz\package.json...OK Loading "graphviz.js" tasks...OK
Running tasks: default
Running "default" task
Running "angular_architecture_graph" task
Running "angular_architecture_graph:diagram" (angular_architecture_graph) task Verifying property angular_architecture_graph.diagram exists in config...OK Files: c:/GruntTest/ui-router.js -> c:/GruntTest/architecture Options: hideAngularServices, shapeModules="component", shapeFactories="ellipse", shapeDirectives="cds", colorScheme="paired12" Reading c:/GruntTest/ui-router.js...OK Writing c:/GruntTest/architecture/dot/legend.dot...OK Writing c:/GruntTest/architecture/dot/all.dot...OK Writing c:/GruntTest/architecture/dot/modules.dot...OK Writing c:/GruntTest/architecture/dot/modules/ui.router.util.dot...OK Writing c:/GruntTest/architecture/dot/modules/ui.router.router.dot...OK Writing c:/GruntTest/architecture/dot/modules/ui.router.state.dot...OK Writing c:/GruntTest/architecture/dot/modules/ui.router.dot...OK Writing c:/GruntTest/architecture/dot/modules/ui.router.compat.dot...OK
Running "graphviz" task
Running "graphviz:target" (graphviz) task Verifying property graphviz.target exists in config...OK Files: c:/GruntTest/architecture/dot/all.dot -> c:/GruntTest/architecture/png/all.png Files: c:/GruntTest/architecture/dot/legend.dot -> c:/GruntTest/architecture/png/legend.png Files: c:/GruntTest/architecture/dot/modules.dot -> c:/GruntTest/architecture/png/modules.png Files: c:/GruntTest/architecture/dot/modules/ui.router.compat.dot -> c:/GruntTest/architecture/png/modules/ui.router.compat.png Files: c:/GruntTest/architecture/dot/modules/ui.router.dot -> c:/GruntTest/architecture/png/modules/ui.router.png Files: c:/GruntTest/architecture/dot/modules/ui.router.router.dot -> c:/GruntTest/architecture/png/modules/ui.router.router.png Files: c:/GruntTest/architecture/dot/modules/ui.router.state.dot -> c:/GruntTest/architecture/png/modules/ui.router.state.png Files: c:/GruntTest/architecture/dot/modules/ui.router.util.dot -> c:/GruntTest/architecture/png/modules/ui.router.util.png Options: (none) Options: (none)
Could you help on this?