using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; namespace EHEC_Server { public class JsonModel { public IList Node { get; set; } = new List(); public IList Edge { get; set; } = new List(); } public class JsonNodeModel { public int Id { get; set; } public string Nodetype { get; set; } public string Name { get; set; } } public class JsonEdgesModel { public int Source { get; set; } public int Target { get; set; } public string EdgeType { get; set; } } }