Esempio n. 1
0
        /// <summary>
        /// Returns all the connected pairs of shapes in the active page
        /// </summary>
        /// <param name="flag"></param>
        /// <returns></returns>
        public IList <VACONNECT.ConnectorEdge> GetTransitiveClosure(VACONNECT.ConnectorEdgeHandling flag)
        {
            this.Client.Application.AssertApplicationAvailable();
            this.Client.Document.AssertDocumentAvailable();

            var app = this.Client.Application.Get();

            return(VACONNECT.PathAnalysis.GetTransitiveClosure(app.ActivePage, flag));
        }
Esempio n. 2
0
        public IList <VACONNECT.ConnectorEdge> GetDirectedEdges(VACONNECT.ConnectorEdgeHandling flag)
        {
            this.Client.Application.AssertApplicationAvailable();
            this.Client.Document.AssertDocumentAvailable();

            var application    = this.Client.Application.Get();
            var directed_edges = VACONNECT.PathAnalysis.GetDirectedEdges(application.ActivePage, flag);

            return(directed_edges);
        }