public void InitializeFrom(NodeData nodeData)
 {
     NodeData  = nodeData;
     Externals = nodeData.Externals;
     if (Externals == null || Externals.FloatNodes == null)
     {
         NodeData.Initialize();
     }
     Initialize();
 }
 public void OnNewDataSelected(NodeData nodeData, Object nodeDataContainer)
 {
     _nodeData          = nodeData;
     _nodeDataContainer = nodeDataContainer;
     if (_nodeData == null)
     {
         return;
     }
     _nodeData.Initialize();
     RebuildGraph();
     Repaint();
     _nodeDrawer.SetNodeData(nodeData, nodeDataContainer);
     _duplicator.Initialize(nodeData);
 }