Archeometer.Analysis.Apps.Xref (Archeometer v0.5.0)

Functions for generating a dependency graph from applications in an Elixir project.

Accepted output formats are "dot" (graphviz), "png" and "mermaid".

Link to this section Summary

Functions

Creates a dependency graph between the applications of the current project.

Link to this section Functions

Link to this function

gen_graph(format, db \\ Repo.default_db_name())

Creates a dependency graph between the applications of the current project.

parameters

Parameters

  • 'format' can be one of "dot" (graphviz), "png", or "mermaid".
  • 'db' is the database path

returns

Returns

  • The binary representing the graph, if the operation was completed successfully.
  • {:error, reason} if not.