Changes between Version 32 and Version 33 of ErlangShellInterface
- Timestamp:
- Apr 22, 2013, 12:01:55 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ErlangShellInterface
v32 v33 282 282 283 283 {{{#!comment 284 Parameters for generating smart graphs:284 The parameter of the smart graph generation is a proplist setting the options of the generation and of the analysis. The available options are: 285 285 * {{{dependency_level (mod | func) }}} 286 The level of the dependency query(module or function).286 The level of the dependency examination (module or function). 287 287 * {{{output_path ( string() ) }}} 288 Smart graphs are stored in {{{.html}}} files. If this parameteris not set, the name of the output file will be randomly generated, and the {{{.html}}} file will be placed in your {{{tool/data}}} directory.288 Smart graphs are stored in {{{.html}}} files. If this option is not set, the name of the output file will be randomly generated, and the {{{.html}}} file will be placed in your {{{tool/data}}} directory. 289 289 * {{{dependency_options ( level, type, otp, exception, leaves ) }}} 290 The possible parameters are the same as above. (See dependency analysis.)290 The possible options are the same as above. (See dependency analysis.) 291 291 For example: 292 292 {{{#!erlang 293 DepOpts = [{level, mod}, {type, all}, {gnode, refusr_cyclic_mod}, {exception, []}, {leaves, []}, {otp, false}]. 293 DepOpts = [{level, mod}, {type, all}, {gnode, example_mod}, {exception, []}, {leaves, []}, {otp, false}], 294 ri:generate_smart_graph([{dependency_level, mod}, {output_path, "/tmp/example_smart_graph.html"}, {dependency_options, DepOpts}]). 294 295 }}} 295 296 }}}