How to use Visual Studio Layer Diagram

This section describes how to create a javascript layer diagram in the Visual Studio 2010.
  • First of all, the extension for the visual studio layer diagram has to be installed. This can be done by downloading and executing the following .vsix file.
http://jsanalyse.codeplex.com
  • After that a modeling project has to be created in the solution.
ModelingProject.png
  • Within the new modeling project a layer diagram can be created.
CreateLayerDiagram.png
  • Javascript files can be dragged from the into the layer diagram.
DragAndDropJavascriptToLayerDiagram.png
  • The allowed dependencies between the javascripts have to be defined.
DefineJavascriptDependencies.png
  • If some code in the javascript violates the defined dependencies the result is shown in the error window.
DependencyViolation.png

Last edited Nov 23, 2011 at 11:19 AM by tstune, version 4

Comments

No comments yet.