- 论坛徽章:
- 0
|
演示示例:
- import sml;
- symbol scheduler = mkcom(":Scheduler");
- symbol im = mkiball("MakeReservations",E);
- symbol planner = mkcom(":Planner");
- symbol ip =mkiball("UpdatePlans",N);
- symbol gui = mkcom(":TripGUI");
- vdock(LEFT,hdock(MID,scheduler,im),
- hdock(MID,space*1.5cm,planner,ip,gui)).add();
- (scheduler--im).draw();
- (planner--hv--im).style(req_i).draw();
- (planner--ip).draw();
- (gui--ip).style(req_i).draw();
复制代码 复制代码输出结果:
![]()
更多演示请看发布页面:
http://blog.chinaunix.net/u/31756/showart_2211858.html
下载地址: http://sml4asy.googlecode.com/files/sml4asy-0.01.tar.gz
本主题由 milksea 于 昨天 10:42 加入精华 |
|