Hello all, I’m in the process of trying to implement the graphview functionality towards a json serialiser and json builder and I have a few questions for those who may know more about the features and limitiations of graphview.
The end goal would be implementing the specific schemas of the json structure I’m working with into the nodes through the use of different nodes with different fields, and potentially link them through either input/output ports, or through the use of groups.
I would strongly prefer using them with ports as that would provide a visualisation element as to which nodes(objects) connect to which others.
Current schema example would be
public class Test {
public string name;
public List<TestMaterial> TestMaterials;
}
public class TestMaterial {
public int index;
public string name;
}
This isn’t the official use of the schema inside of the nodes, this is for serialisation in the project I’m working on.
In the case of lists that accept simply data types such as string or int, the implementation is fairly obvious, but I’m a little lost on how to use ports or groups to represent a version of for an example
public List<TestMaterial> TestMaterials;
Since that would refer to the data housed inside of other nodes.
And how would that list be represented?
If anyone has done something similar I’d appreciate some pointers, I’ve been searching for a few days as I work on the more certain aspects of the project and even chatgpt will spit out utter garbage when faced with this question.