/// <summary> /// Ensures the nodes are visible in the adapted control</summary> /// <param name="nodes">Nodes</param> public void EnsureVisible(IEnumerable <TNode> nodes) { Rectangle bounds = GetBounds(nodes); TransformAdapters.EnsureVisible(m_transformAdapter, bounds); }
/// <summary> /// Frames a node in the adapted control</summary> /// <param name="node">GraphNode</param> public void Frame(TNode node) { Rectangle bounds = GetBounds(node); TransformAdapters.Frame(m_transformAdapter, bounds); }
/// <summary> /// Frames the given nodes in the adapted control</summary> /// <param name="nodes">Collection of nodes</param> public void Frame(IEnumerable <TNode> nodes) { Rectangle bounds = GetBounds(nodes); TransformAdapters.Frame(m_transformAdapter, bounds); }