Hello,
I have a problem when I’m trying to generate a graph using a XML file. In this graph I have some objects (different kinds of nodes), for example: an InterfaceNode, ApplicationNode, and a NodoBase with the common properties to all node kinds. I’m charging the XML in this way: model.Load<NodeBase, RelationShip>(root, “NodeBase”, “RelationShip”); In this way, it’s charging only the node properties but not the specifics to each node. The method that I’m using to charge the properties is the following (to ApplicationNode and the other ones):
public override void LoadFromXElement(XElement e)
{
base.LoadFromXElement(e);
this.ObjectivesExpanded = XHelper.Read(“ObjectivesExpanded”, e, false);
this.ProvidedInterfacesExpanded = XHelper.Read(“ProvidedInterfacesExpanded”, e, false);
this.UsedInterfacesExpanded = XHelper.Read(“UsedInterfacesExpanded”, e, false);
this.ApplicationsExpanded = XHelper.Read(“ApplicationsExpanded”, e, false);
this.InformationUnitsExpanded = XHelper.Read(“InformationUnitsExpanded”, e, false);
this.InvolvedsExpanded = XHelper.Read(“InvolvedsExpanded”, e, false);
this.ProjectsExpanded = XHelper.Read(“ProjectsExpanded”, e, false);
this.ModulesExpanded = XHelper.Read(“ModulesExpanded”, e, false);
this.ModulesExpanded = XHelper.Read(“ModulesExpanded”, e, false);
}
The problem is that it’s not charging the specific properties to each nod