21 | | We currently have three interface functions in the {{{ri}}} module: {{{check_layered_arch/2}}}, {{{show_layered_arch/2}}} and {{{ri:show_layered_arch/3}}}. The first two both take two parameters: {{{{Name, ModSpecs}}}} and {{{{AllowFrom, AllowTo}}}} as described above. The third has an extra parameter, which defines the name of the generated .dot file. The function {{{ri:check_layered_arch/2}}} outputs the functions that violate the layer access restrictions, while {{{ri:show_layered_arch/2}}} and {{{ri:show_layered_arch/3}}} visualises the layers in a graph with the layer violations highlighted. |
| 21 | We currently have three interface functions in the {{{ri}}} module: {{{check_layered_arch/2}}}, {{{show_layered_arch/2}}} and {{{show_layered_arch/3}}}. The first two both take two parameters: {{{{Name, ModSpecs}}}} and {{{{AllowFrom, AllowTo}}}} as described above. The third has an extra parameter, which defines the name of the generated .dot file. The function {{{ri:check_layered_arch/2}}} outputs the functions that violate the layer access restrictions, while {{{ri:show_layered_arch/2}}} and {{{ri:show_layered_arch/3}}} visualises the layers in a graph with the layer violations highlighted. |