public CreateNode(string stackId, string i, UIGraph g, string[] gstack = null) { id = i; graph = g; StackId = stackId; if (gstack == null) { stack = graph.GetGraphStack(); } else { stack = gstack; } }
public DeleteNode(string stackId, string js, string id, Point p, List <NodeConnection> pars, UIGraph g, string[] gstack = null) { json = js; nid = id; graph = g; point = p; parents = pars; StackId = stackId; if (gstack == null) { stack = graph.GetGraphStack(); } else { stack = gstack; } }