public Graph(View.Scene scene, AbstractOrderingStrategy strategy, bool sort) { _scene = scene; _strategy = strategy; _sort = sort; _components = new List <AbstractDrawable>(); }
public void Dispose() { lock (_components) { foreach (AbstractDrawable c in _components) { if ((c != null)) { c.Dispose(); } } _components.Clear(); } _scene = null; }
public Graph(View.Scene scene, bool sort) : this(scene, new DefaultOrderingStrategy(), sort) { }
public Graph(View.Scene scene, AbstractOrderingStrategy strategy) : this(scene, strategy, true) { }
public Graph(View.Scene scene) : this(scene, new DefaultOrderingStrategy(), true) { }