Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicate nodes in NodeGraph and Visualizer #456

Open
1 task done
kbret1 opened this issue Oct 16, 2023 · 7 comments
Open
1 task done

Duplicate nodes in NodeGraph and Visualizer #456

kbret1 opened this issue Oct 16, 2023 · 7 comments
Labels
bug Something isn't working

Comments

@kbret1
Copy link

kbret1 commented Oct 16, 2023

Have you read the Contributing Guidelines on issues?

Description

The Domain NodeGraph and Visualizer shows duplicate nodes.

image

image

Steps to reproduce

git clone https://github.com/kbret1/EventCatalogTest.git
cd EventCatalogTest
yarn
yarn build
yarn start

Expected behavior

Domain NodeGraph and Visualizer should not have duplicate nodes.

Actual behavior

Duplicate nodes are included.

Your environment

  • EventCatalog Core version used: 1.1.0
  • Environment name and version: Version 117.0.5938.149 (Official Build) (arm64)
  • Operating system and version: MacBook 14.0 (23A344)
@jr-araujo
Copy link

jr-araujo commented Nov 24, 2023

I'm also facing this issue! I lost some hours trying to figure out where could be the spot of the duplication and I saw that it could be a BUG on the NodeGraph component of the eventcatalog platform.

@boyney123 any news about it?

@steve-curran
Copy link

I am also facing this issue while evaluating this tool for adaption by our company - @boyney123

@flashmatt
Copy link

We've hit the same issue.

It would appear the Domain graph is split into publishers and subscribers and in your case @kbret1 because your service does not subscribe to anything it looks like the graph is duplicating. We noticed this on our Master Data service which publishes but does not consume.

Looking at the demo: https://app.eventcatalog.dev/domains/Orders/ It seems this is the desired behaviour but I would argue that it is better to show this in one graph instead of separate. @boyney123 would you accept a pull request to inline these into one graph? Something along the lines of:

[ PaymentProcessed ] -> Subscribed by -> [ Orders Service ]-> Publishes -> [ Order Complete ]-> subscribed by ->[ Data Lake ]

We haven't done any work to see if this is possible, I just want to confirm before we look at it.

@robert-sykes FYI

@s1mrankaur
Copy link

My service is subscribing and it is still duplicated. @kbret1 @boyney123

@boyney123
Copy link
Owner

app.eventcatalog.dev/domains/Orders

Hey @flashmatt

Ah yeah I see the issue, yeah feel free to make a pull request and look into this, happy to accept that if you still have the time and bandwidth, makes sense to me!

@s1mrankaur
Copy link

Any fixes in sight for this issue?

@boyney123
Copy link
Owner

I'm currently rewriting parts in V2 of EventCatalog, faster file system reads etc. Part of this I have moved to dagre for rendering nodes, I believe this may fix the issue! So hopefully I can get something deployed soon for you all to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants