dlr-gtlab / intelligraph-module

A Node-based Workflow Engine for GTlab
1 stars 0 forks source link

Add dummy node for undefined classes #107

Open rainman110 opened 4 months ago

rainman110 commented 4 months ago

In GitLab by @jensschmeink on Jul 3, 2024, 06:33

Summary

If a data model class is unknown it is replaced by a dummy object to keep the structure. If a node type is missing it is replaced by dummy object in data model aswell, but since there is no dummy node in the graph all connections get lost.

Ideally GTlab/IntelliGraph should create a dummy node which holds the number of ports and allows the connection model to keep the connections to the missing node

What is improved by the feature?

The structure of the graph is still visible if a class is missing

Current workarounds

/

rainman110 commented 4 months ago

In GitLab by @jensschmeink on Jul 4, 2024, 10:17

unassigned @jensschmeink

rainman110 commented 2 months ago

In GitLab by @mariusalexander on Sep 10, 2024, 13:59

@rainman110 You have refactored how missing objects are handled. Since I consider you to be the expert on this topic: Do you know if it is possible to create a "specialized" dummy node?

rainman110 commented 3 weeks ago

@mariusalexander I did not refactor this, but anyhow.... A dummy node contains all the information from serialization, so that it can be used to write the node data.

The problem is, that it is not directly possible to query these dummy node data. You can though export a dummy node into a memento and get all information from it. i don't know though, whether the memento contains all the information required to draw a dummy node (ports, connections).