private static void OnPanelNodeUpdated(Node node) { NodeEditorAPIController nodeEditorApi = new NodeEditorAPIController(); LiteGraph.Node liteGraphNode = nodeEditorApi.ConvertNodeToLiteGraphNode(node); hub.Clients.All.OnPanelNodeUpdated(liteGraphNode); }
private static void OnNewNode(Node node) { NodeEditorAPIController nodeEditorApi = new NodeEditorAPIController(); LiteGraph.Node liteGraphNode = nodeEditorApi.ConvertNodeToLiteGraphNode(node); hub.Clients.Group(node.PanelId).OnNewNode(liteGraphNode); }