An open API service indexing awesome lists of open source software.

https://github.com/a-p-z/ngrx-graphviz

Ngrx Graphviz is a tool that analyzes the AST (Abstract Syntax Tree) of Typescript projects looking for ngrx actions and effects. The result is processed by Graphviz which represents cause-effect relationships between actions as a diagram.
https://github.com/a-p-z/ngrx-graphviz

angular graphviz ngrx typescript

Last synced: 2 months ago
JSON representation

Ngrx Graphviz is a tool that analyzes the AST (Abstract Syntax Tree) of Typescript projects looking for ngrx actions and effects. The result is processed by Graphviz which represents cause-effect relationships between actions as a diagram.

Awesome Lists containing this project

README

          

# Ngrx Graphviz
Ngrx Graphviz is a tool that analyzes the AST (Abstract Syntax Tree) of Typescript projects looking for ngrx actions and effects.
The result is processed by [Graphviz](https://graphviz.org/) which represents cause-effect relationships between actions as a diagram.
![ngrx-graphviz](images/ngrx-graphviz.png "Ngrx Graphviz")

## How to use it
- Go to [Ngrx Graphviz](https://a-p-z.github.io/ngrx-graphviz/)
- Click on ![Open NgRx project](images/open-ngrx-project.png "Open NgRx project")
- Select your project folder (tsconfig.json must be present into the folder)
- Wait for the result

## Legend
|||
:---|:---
![side-effect](images/side-effect.png "Ngrx Graphviz" ) | side effect, A dispatches B
![non-dispatching-effect](images/non-dispatching-effect.png "Ngrx Graphviz") | [non-dispatching effect](https://ngrx.io/guide/effects/lifecycle#non-dispatching-effects)
![catch-error](images/catch-error.png "Ngrx Graphviz") | dispatched action in case of error
![reducer](images/reducer.png "Ngrx Graphviz") | action handled by a reducer to perform a state transition

## Limitation
Ngrx Graphviz is able to resolve Actions, Effect and Reducers created by
- [createAction](https://ngrx.io/api/store/createAction)
- [createEffect](https://ngrx.io/api/effects/createEffect)
- [createReducer](https://ngrx.io/api/store/createReducer)

# Related projects
- [NgRx Vis](https://github.com/co-IT/ngrx-vis)
- [NgRx Visualizer](https://github.com/google/ngrx-visualizer)

[![pages-build-deployment](https://github.com/a-p-z/ngrx-graphviz/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/a-p-z/ngrx-graphviz/actions/workflows/pages/pages-build-deployment)