Tools to prepare
Graphviz is open source graph visualization software. Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains.
Doxygen is an open source cross-platform file system similar to JavaDoc style described fully supports C, C ++, the Java, in Objective-C and IDL language, partial support for PHP, C #. Notes syntax and Qt-Doc, KDoc and JavaDoc compatibility. Doxygen can archive from a source file to start generating HTML format online class browser, or offline LATEX, RTF reference manual.
=======================================================
Download the official connection is too slow, can I use Baidu shared disk download
Link: https: //pan.baidu.com/s/1p5Y_Cz0Up5ImafQ8YP7KYw
extraction code: 41p2
copy the contents of this open Baidu network disk phone App, the operation more convenient oh
=======================================================
Installation configuration environment variable
Graphviz after installation you need to configure the environment variable
to add graphviz installation bin folder files in the directory to the Path environment variable:
Verify whether the normal graphviz
Into the windows command line interface, input dot -version
, and then press Enter, if the relevant information is displayed graphviz version, the installation configuration is successful.
C:\Users\arvin.chen>dot -version
dot - graphviz version 2.38.0 (20140413.2041)
libdir = "C:\Program Files\graphviz-2.38\bin"
Activated plugin library: gvplugin_dot_layout.dll
Using layout: dot:dot_layout
Activated plugin library: gvplugin_core.dll
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
C:\Program Files\graphviz-2.38\bin\config6
was successfully loaded.
render : cairo dot fig gd gdiplus map pic pov ps svg tk vml vrml xdot
layout : circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
textlayout : textlayout
device : bmp canon cmap cmapx cmapx_np dot emf emfplus eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg metafile pdf pic plain plain-ext png pov ps ps2 svg svgz tif tiff tk vml vmlz vrml wbmp xdot xdot1.2 xdot1.4
loadimage : (lib) bmp eps gd gd2 gif jpe jpeg jpg png ps svg
Document generation
Run DoxyWizard, pop Doxygen configuration interface
Scan recursively selected recursively analyzes the source code in the source code of subdirectories in the directory.
Due to the use Graphviz, so to set the Dot option, check HAVE_DOT, and set DOT_PATH to the bin directory of Graphviz.
As can be seen in the configuration information = HAVE_DOT YES
Related documents generated as follows