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

No edges if msg names declared in graph connections are not defined in the cmd_in/cmd_out. #201

Closed
leoadonia opened this issue Oct 25, 2024 · 1 comment
Assignees

Comments

@leoadonia
Copy link
Collaborator

leoadonia commented Oct 25, 2024

The graph designer randers the nodes according to the cmd_in/cmd_out in the manifest.json of extensions. There will not be any edge if the msg name is not defined in the api of manifest.json, even though a connection has been declared in the graph connections. Ex:

{
  "connections": [
    {
      "extension_group": "some_group",
      "extension": "ext_a",
      "cmd": [
        {
          "name": "cmd_1",
          "dest": [
            {
              "extension_group": "some_group",
              "extension": "ext_b"
            }
          ]
        }
      ]
    }
  ]
}

If the cmd_1 is not declared in cmd_out in ext_a, or the cmd_1 is not declared in the cmd_in of ext_b, the graph designer fails to render the nodes and edges.

For tman dev-server, whether to check if the msg name has to be declared in the api of the extensions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

No branches or pull requests

2 participants