[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-242645-105":3,"detail-sidebar-cat-1-en-105":81,"doc-detail-242645-en":127},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","pharmasug-china-2019-flowcharts-drawn-with-sasgtl-paper-dv-43","PharmaSUG China 2019 - Flowcharts Drawn with SAS/GTL - Paper DV-43","","Flowcharts are critical diagrams for visualizing logical data hierarchies in a clear, step-by-step structure. Prior approaches using SAS macros or other tools often demand additional learning and limit flexibility, increasing time and effort. This paper presents a simple, flexible SAS/GTL-based method that anchors different texts at specified coordinates using GTL TEXTPLOT and VECTORPLOT together with DRAWTEXT, DRAWARROW, and DRAWLINE, enabling customizable flowchart layouts without macros.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/template/","Template",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/template/presentations/","Presentations",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/template/pharmasug-china-2019-flowcharts-drawn-with-sasgtl-paper-dv-43/242645/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/pharmasug-china-2019-flowcharts-drawn-with-sasgtl-paper-dv-43/242645.png","ImageObject",442,249,{"name":42,"@type":43},"Rowan","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-10-16","2026-09-12",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",7,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why are flowcharts important in pharmaceuticals and data communication?","Question",{"text":63,"@type":64},"Flowcharts visually represent processes as a sequence of steps, using symbols and arrows to show direction. In pharmaceuticals, this helps make experimental processes easier to understand and follow.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What limitation do earlier methods using SAS macros or other tools have?",{"text":68,"@type":64},"Those methods require learning specific macros or tools and are inflexible, making them time-consuming to use.",{"name":70,"@type":61,"acceptedAnswer":71},"How does the proposed SAS/GTL approach control the placement of text and arrows?",{"text":72,"@type":64},"The method relies on coordinates stored in a data set. TEXTPLOT places texts using X and Y positions, while VECTORPLOT sets arrow origins and terminals via XORIGIN/YORIGIN and X/Y, and DRAWLINE handles line segments without arrowheads.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},242645,1791720350,{"code":4,"msg":82,"data":83},"success",[84,88,93,98,103,108,113,118,123],{"id":85,"doc_module":22,"doc_module_name":25,"category_name":29,"show_sort_weight":86,"slug":87},11,90,"presentations",{"id":89,"doc_module":22,"doc_module_name":25,"category_name":90,"show_sort_weight":91,"slug":92},12,"Resumes",80,"resumes",{"id":94,"doc_module":22,"doc_module_name":25,"category_name":95,"show_sort_weight":96,"slug":97},14,"Invoices",70,"invoices",{"id":99,"doc_module":22,"doc_module_name":25,"category_name":100,"show_sort_weight":101,"slug":102},15,"Posters",60,"posters",{"id":104,"doc_module":22,"doc_module_name":25,"category_name":105,"show_sort_weight":106,"slug":107},16,"Social Media",50,"social-media",{"id":109,"doc_module":22,"doc_module_name":25,"category_name":110,"show_sort_weight":111,"slug":112},17,"Forms",40,"forms",{"id":114,"doc_module":22,"doc_module_name":25,"category_name":115,"show_sort_weight":116,"slug":117},18,"Letters",30,"letters",{"id":119,"doc_module":22,"doc_module_name":25,"category_name":120,"show_sort_weight":121,"slug":122},21,"Paper Templates",5,"papers-templates",{"id":124,"doc_module":22,"doc_module_name":25,"category_name":125,"show_sort_weight":4,"slug":126},158,"General","general-158",{"code":4,"msg":82,"data":128},{"doc_id":79,"user_id":129,"nickname":42,"user_avatar":130,"doc_module":22,"category_id":85,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":136,"language":137,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":138,"faqs":139,"seo_title":140,"seo_description":12,"update_tm":141,"read_time":30},1099514067415,"https://ap-avatar.wpscdn.com/avatar/100002539d78ffe74a7?x-image-process=image/resize,m_fixed,w_180,h_180&k=1779092875211072502","PharmaSUG China 2019-Paper DV-043  \nFlowcharts Drawn with SAS/GTL  \nXiufang Zhang , Xiang Wang, FMD K&L Inc. , Nanjing, China  \nABSTRACT  \nFlowcharts are a very important form of diagrams which can clearly show the logical hierarchy of data. However, previous methods of creating flowcharts with SAS macros[1,3] or other tools[2] require further learning of the specified macros or other tools needed which is inflexible and time costly. This paper will introduce a simple and flexible way to create flowcharts which have various texts anchoring in different positions according to coordinates by using graph template (GTL) containing TEXTPLOT, VECTORPLOT statements combined with DRAWTEXT, DRAWARROW and DRAWLINE statement.  \nINTRODUCTION  \nA flowchart is a graphical or symbolic representation of a process which makes data visualized. Each step of the process is represented by a different symbol and contains a short description of the step. The flowchart symbols are linked together with arrows showing the process flow direction. In pharmaceuticals, using flowcharts can make the experimental process easier to understand. Flowcharts have various forms and can be obtained with many methods, such as, SAS/GRAPH using Annotate macros, Visual Basic Scripting (VBS), and manually in Microsoft Word. The first method requires understanding all the macros used, which is hard for amateurs. The other two are not suitable in SAS environment, so, if need to output a flowchart in SAS environment, these two methods are not feasible. This paper introduces a simple method in developing flowcharts with SAS/GTL without any macros.  \nVarious forms offlowcharts are dependent on the position of texts or boxes which are determined by their coordinates. Therefore, a desired flowchart can be obtained by adjusting the related coordinates of texts or boxes. An example offlowcharts will be given in Figure 1 and its drawing details will be described below.  \nFigure 1: Example of a Flowchart  \nDATA SET FOR SAMPLE FLOWCHART  \nTo obtain a flowchart as Figure 1, a data set is needed and two parts of the data set are displaying below. Code for developing this data set is showing in Appendix 1.  \nIn Part 1, variable text indicates the texts displayed in the boxes of Figure 1. (x_, y_ ) represents coordinates of the corresponding text or box for each text. In Part 2,(m1, n1) and (m2, n2) are origin coordinates and end coordinates of the arrows or lines respectively. Variables “name1” and “name2” are texts at beginning and end of arrows, once we  \nneed to change any arrows ’ locations these two variables can help us to relocate the target arrows immediately. Adjusting x_, y_, m1, n1, m2, n2 combined with output figures will customize the required flowcharts.  \nPART 1: Texts  \nPART 2: Arrows/Lines  \nTEMPLATE FOR SAMPLE FLOWCHART  \nAs mentioned in Abstract, this paper will introduce creating flowchart with GTL. Therefore, it’s necessary to create a template for flowchart. Example code displayed as below:  \nproc template ;  \ndefine statgraph textplot;  \nbegingraph;  \nlayout overlay /  \nyaxisopts=(linearopts=(viewmin=0 viewmax=45) display=none)  \nxaxisopts=(linearopts=(viewmin=0 viewmax=50) display=none)  \nwalldisplay=none;  \ntextplot x=x_ y=y_ text=text / name=\"m\"  \nposition=center  \nsplitpolicy=split  \nsplitchar=\"*\"  \nsplitchardrop=true  \nvcenter=bbox  \nposition=center  \ndisplay=(fill outline)  \nfillattrs=(color=blue transparency=1)  \ntextattrs=(weight=bold color=black);  \nvectorplot xorigin=m1 yorigin=n1 x=m2 y=n2 / xaxis=x yaxis=yarrowdirection=out  \narrowheadshape=open  \nlineattrs=(pattern=solid thickness=1px color=black);  \ndrawline x1=35 y1=25 x2=35 y2=10 / xaxis=x yaxis=ydrawspace=datavalue  \nlineattrs=(pattern=solid thickness=1px color=black);  \nendlayout;  \nendgraph;  \nend;  \nrun ;  \nods listing close;  \nproc sgrender data=treat template=textplot; run ;  \nods listing;  \nThe template shows that: values of axes depend on coordinates which are stored in data set,“DISPLAY=","cbCaimxci4N38dCu","https://ap.wps.com/l/cbCaimxci4N38dCu","pdf",455767,9,"English","# ABSTRACT\n# INTRODUCTION\n# DATA SET FOR SAMPLE FLOWCHART\n## PART 1: Texts\n## PART 2: Arrows/Lines\n# TEMPLATE FOR SAMPLE FLOWCHART\n## TEXTPLOT and VECTORPLOT usage\n## POSITION, VCENTER, SPLITPOLICY options\n## DRAWLINE for line segments","[{\"question\":\"Why are flowcharts important in pharmaceuticals and data communication?\",\"answer\":\"Flowcharts visually represent processes as a sequence of steps, using symbols and arrows to show direction. In pharmaceuticals, this helps make experimental processes easier to understand and follow.\"},{\"question\":\"What limitation do earlier methods using SAS macros or other tools have?\",\"answer\":\"Those methods require learning specific macros or tools and are inflexible, making them time-consuming to use.\"},{\"question\":\"How does the proposed SAS/GTL approach control the placement of text and arrows?\",\"answer\":\"The method relies on coordinates stored in a data set. TEXTPLOT places texts using X and Y positions, while VECTORPLOT sets arrow origins and terminals via XORIGIN/YORIGIN and X/Y, and DRAWLINE handles line segments without arrowheads.\"}]","PharmaSUG China 2019 - Flowcharts Drawn with SAS/GTL - Paper DV-43 | PDF",1789192940]