Changes between Version 36 and Version 37 of ErlangShellInterface
- Timestamp:
- May 31, 2013, 12:00:17 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ErlangShellInterface
v36 v37 107 107 See [[StartUp| Starting the tool]] for further details. 108 108 109 {{{#!comment 109 110 110 The [[PosModes| positioning mode]] of the database can be converted by calling 111 111 … … 118 118 * '''abs''': converting database to absolute positioning mode.\\ 119 119 * '''rel''': converting database to relative positioning mode.\\ 120 }}} 120 121 121 122 122 == Inspecting the graph == … … 275 275 ri:print_dep/1 276 276 }}} 277 {{{#!comment 277 278 278 3. For drawing smart graph: 279 279 {{{#!erlang 280 280 ri:generate_smart_graph/1 281 281 }}} 282 }}} 282 283 283 284 284 ==== Options ==== … … 301 301 The file path of the generated {{{.dot}}} graph description. Unless it is a non-existing absolute path, the graph will be placed into the {{{./dep_files}}} directory. This option is only available when using {{{draw_dep}}}. 302 302 303 {{{#!comment 303 304 304 The parameter of the smart graph generation is a proplist setting the options of the generation and of the analysis. The available options are: 305 305 * {{{dependency_level (mod | func) }}} … … 314 314 ri:generate_smart_graph([{dependency_level, mod}, {output_path, "/tmp/example_smart_graph.html"}, {dependency_options, DepOpts}]). 315 315 }}} 316 }}} 316 317 317 318 318 You can specify entities either with their identifier or with graph nodes (such as {{{{'$gn', func, 123}}}}). Modules can be specified with their names as atoms (e.g. 'mnesia'), while functions are specified by their MFA descriptor as a string (e.g. "io:format/2") … … 377 377 }}} 378 378 379 {{{#!comment 379 380 380 * Drawing a smart graph by giving the output path. 381 381 {{{#!erlang … … 393 393 "Open a browser and go to file:///home/aszabo/Dokumentumok/refactorerl/trunk/tool/data/sq_g3IAA2QAFXJlZmFjdG9yZXJsQGxvY2FsaG9zdAMAABJVAAAAAAAAAAA.html to see the result." 394 394 }}} 395 }}} 395 396 396 397 397 === Function block dependencies ===