Skip to content

Conversation

@ra1028
Copy link
Owner

@ra1028 ra1028 commented Sep 4, 2022

Pull Request Type

  • Bug fix
  • New feature
  • Refactoring
  • Documentation update
  • Chore

Issue for this PR

Link:

Description

Add a capability to display a string representation of dependency graph in DOT language.

Impact on Existing Code

Contains some breaking changes in debugging information, but no impact on normal usage.

Screenshot/Video/Gif

digraph {
  node [shape=box]
  "APIClientAtom"
  "APIClientAtom" -> "ImageAtom"
  "APIClientAtom" -> "MovieLoaderAtom"
  "ExampleMovieDB/FiltePicker.swift" [style=filled]
  "ExampleMovieDB/MoviesScreen.swift" [style=filled]
  "ExampleMovieDB/NetworkImage.swift" [style=filled]
  "FilterAtom"
  "FilterAtom" -> "ExampleMovieDB/FiltePicker.swift" [label="line:5"]
  "FilterAtom" -> "MovieLoaderAtom"
  "ImageAtom"
  "ImageAtom" -> "ExampleMovieDB/NetworkImage.swift" [label="line:8"]
  "MovieLoaderAtom"
  "MovieLoaderAtom" -> "ExampleMovieDB/MoviesScreen.swift" [label="line:5"]
  "SearchQueryAtom"
  "SearchQueryAtom" -> "ExampleMovieDB/MoviesScreen.swift" [label="line:8"]
}

graphviz

@ra1028 ra1028 force-pushed the feat/dot-representation branch from 0591815 to be06899 Compare September 5, 2022 17:36
@ra1028 ra1028 force-pushed the feat/dot-representation branch from e79c0ac to f3f40ff Compare September 9, 2022 14:23
@ra1028 ra1028 marked this pull request as ready for review September 16, 2022 06:06
@ra1028 ra1028 merged commit 0898405 into main Sep 16, 2022
@ra1028 ra1028 deleted the feat/dot-representation branch September 16, 2022 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants