SkillAgentSearch skills...

EDAVisualiser

View your system, events, applications through different perspectives

Install / Use

/learn @asyncapi/EDAVisualiser

README

AsyncAPI EDAVisualiser

Project Status: Active – The project has reached a stable, usable state and is being actively developed. Npm latest version License last commit Playground <!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section --> All Contributors

<!-- ALL-CONTRIBUTORS-BADGE:END -->

https://user-images.githubusercontent.com/13396189/169362612-0b6129b6-09b6-4807-aff9-8b545bcbc5dc.mp4


<!-- toc is generated with GitHub Actions do not remove toc markers --> <!-- toc --> <!-- tocstop -->

EDAVisualiser

EDAVisualiser is a visualization library to show various views revolving around your application. An Application is seen as something that communicates with others through incoming and outgoing "connections". This is what makes up the foundation for the views.

It is written in React, however, it also supports the most used frameworks such as Vue and Angular, check out the examples for concrete code examples.

Installation

Run this command to install the visualizer in your project:

npm install @asyncapi/edavisualiser

Inputs

The library uses a domain-driven approach, meaning we don't assume one or the other input but build on top of a domain model that is specific to this problem we are trying to solve.

| Input | Example | Description| |:---:|:---:|:---:| | AsyncAPI | <a href="https://asyncapi.github.io/EDAVisualiser/asyncapi">Preview</a>, <a href="https://github.com/asyncapi/EDAVisualiser/blob/main/examples/simple-react/src/SimpleAsyncapi.tsx">code</a> | Allows you to reuse pre-parsed AsyncAPI documents from the official AsyncAPI parser, underneath it splits up the AsyncAPI document into the core building blocks. AsyncAPI v2.0 -> v2.5 is supported. | | Core building blocks | <a href="https://asyncapi.github.io/EDAVisualiser/">Preview</a>, <a href="https://github.com/asyncapi/EDAVisualiser/blob/main/examples/simple-react/src/SimpleApp.tsx">code</a> | The core building blocks is the domain abstraction for inputs this is what any other input type is converted to. |

Views

A view could for example be how a "system" of applications is related, how a single application relates to others, only the fantasy sets the limitations, and feel free to propose new ideas!

ApplicationFocusView

Puts a single application in focus as part of a larger system. Used to figure out who is "connected" to the application.

<a href="https://asyncapi.github.io/EDAVisualiser/social-media/application/notification_service"><img src="./docs/img/applicationFocusView.png" /></a>

Configurations

These are all the arguments you can use to configure the view. | Arguments | Description | Value type | Default | |:---:|:---:|:---:|:---:| | application | The core building block for setting the application information. | ApplicationNodeData \| undefined | undefined | | incomingOperations | The core building block for setting incoming operations for the application. | Array<IncomingNodeData> \| undefined | undefined | | outgoingOperations | The core building block for setting incoming operations for the application. | Array<OutgoingNodeData> \| undefined | undefined | | external | This is the main difference from the ApplicationView as it shows how external applications interact with it. | Array<ApplicationViewData> \| undefined | undefined | | asyncapi | If the application is to be loaded from a pre-parsed AsyncAPI document, which can extend the node with a custom react component in the top of the node. I.e., if you want to render a button or whatever it can be. | AsyncapiApplicationData \| undefined | undefined | | layout | Used to customize the layout of nodes by setting their position. | (elements: FlowElement[]) => React.JSXElementConstructor<LayoutProps> \| undefined | A column layout (ColumnLayout) | | sideMenu | Used to create a custom menu, or whatever you wish to display within the view on top of the nodes. | () => React.JSXElementConstructor<any> \| undefined | Simple headline with the library name | | includeControls | Include controls to zoom in and out, focus and lock nodes. | boolean \| undefined | false | | edgeType | Determine the type of edge between nodes. | Either 'smoothstep', 'step', 'straight', 'floating', 'default', 'simplebezier', 'animated' | smoothstep 

ApplicationView

Puts a single application in focus with only it's near connections that are incoming to the application or outgoing from it.

<a href="https://asyncapi.github.io/EDAVisualiser/"><img src="./docs/img/applicationView.png" /></a>

Configurations

These are all the arguments you can use to configure the view. | Arguments | Description | Value type | Default | |:---:|:---:|:---:|:---:| | application | The core building block for setting the application information. | ApplicationNodeData \| undefined | undefined | | incomingOperations | The core building block for setting incoming operations for the application. | Array<IncomingNodeData> \| undefined | undefined | | outgoingOperations | The core building block for setting incoming operations for the application. | Array<OutgoingNodeData> \| undefined | undefined | | asyncapi | If the application is to be loaded from a pre-parsed AsyncAPI document, which can extend the node with a custom react component in the top of the node. I.e., if you want to render a button or whatever it can be. | AsyncapiApplicationData \| undefined | undefined | | layout | Used to customize the layout of nodes by setting their position. | (elements: FlowElement[]) => React.JSXElementConstructor<LayoutProps> \| undefined | A column layout (ColumnLayout) | | sideMenu | Used to create a custom menu, or whatever you wish to display within the view on top of the nodes. | () => React.JSXElementConstructor<any> \| undefined | Simple headline with the library name | | includeControls | Include controls to zoom in and out, focus and lock nodes. | boolean \| undefined | false | | edgeType | Determine the type of edge between nodes. | Either 'smoothstep', 'step', 'straight', 'floating', 'default', 'simplebezier', 'animated' | smoothstep 

SystemView

Puts the system/collection of applications in focus to figure out how they are all connected.

<a href="https://asyncapi.github.io/EDAVisualiser/social-media"><img src="./docs/img/systemView.png" /></a>

Configurations

These are all the arguments you can use to configure the view. | Arguments | Description | Value type | Default | |:---:|:---:|:---:|:---:| | applications | A list of all the applications within your "system". | Array<ApplicationViewData> \| undefined | undefined | | layout | Used to customize the layout of nodes by setting their position. | (elements: FlowElement[]) => React.JSXElementConstructor<LayoutProps> \| undefined | A circle layout (CircleLayout) | | sideMenu | Used to create a custom menu, or whatever you wish to display within the view on top of the nodes. | () => React.JSXElementConstructor<any> \| undefined | Simple headline with the library name | | includeControls | Include controls to zoom in and out, focus and lock nodes. | boolean \| undefined | false | | edgeType | Determine the type of edge between nodes. | Either 'smoothstep', 'step', 'straight', 'floating', 'default', 'simplebezier', 'animated' | smoothstep 

Showcases

These are the use-cases and where this library is used that you can use as inspiration.

Feel free to add your own projects that are using this library and why.

Contributors ✨

Thanks go to these wonderful people (emoji key):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section --> <!-- prettier-ignore-start --> <!-- markdownlint-disable --> <table> <tbody> <tr> <td align="center" valign="top" width="14.28%"><a href="https://github.com/jonaslagoni"><img src="https://avatars.githubusercontent.com/u/13396189?v=4?s=100" width="100px;" alt="Jonas Lagoni"/><br /><sub><b>Jonas Lagoni</b></sub></a><br /><a href="https://github.com/asyncapi/EDAVisualiser/commits?author=jonaslagoni" title="Code">
View on GitHub
GitHub Stars28
CategoryProduct
Updated17d ago
Forks10

Languages

TypeScript

Security Score

95/100

Audited on Mar 10, 2026

No findings