Conceptually I think the parent and child nodes are the same, both have a title, both have attributes and both (can) have children. Then shouldn't the components also be the same?
I thought about it and it might be possible to create a "base node" that includes the simple stuff:
- Header
- Attributes
- Children
If any deviation should be made (not sure for what) it could be extended.
To solve the connections, a position on the canvas and being drag-able, there could be made a wrapper, not necessarily as parent, but it would have the extra elements that the parent would normally have.
If it is not clear, I'll happily explain it in more detail.
Conceptually I think the parent and child nodes are the same, both have a title, both have attributes and both (can) have children. Then shouldn't the components also be the same?
I thought about it and it might be possible to create a "base node" that includes the simple stuff:
If any deviation should be made (not sure for what) it could be extended.
To solve the connections, a position on the canvas and being drag-able, there could be made a wrapper, not necessarily as parent, but it would have the extra elements that the parent would normally have.
If it is not clear, I'll happily explain it in more detail.