当前位置: 首页 > news >正文

网站上线前如何测试百度搜索推广怎么做

网站上线前如何测试,百度搜索推广怎么做,宝安专业网站设计多少钱,北京市建设教育协会网站查询系统目录 目录 一、基础用法 1.1 开始和结束 1.2 操作步骤 1.3 条件判断 1.4 并行处理 1.5 循环 1.6 分区 1.7 泳道 一、基础用法 1.1 开始和结束 开始一般使用start关键字;结束一般使用stop/end关键字。基础用法包括: start ... stopstart ...…

目录

目录

一、基础用法

1.1 开始和结束

1.2 操作步骤

1.3 条件判断

1.4 并行处理

1.5 循环

1.6 分区

1.7 泳道

一、基础用法

1.1 开始和结束

开始一般使用start关键字;结束一般使用stop/end关键字。基础用法包括:

  • start ... stop
  • start ... end
@startuml
start
:执行操作A;
stop
@enduml

1.2 操作步骤

语法为 :operation,其中 operation 是你为该步骤定义的名称。例如:

@startuml
:开始;
:执行操作A;
:执行操作B;
:结束;
@enduml

1.3 条件判断

使用PlantUML语法通常使用if-else关键字。通常由三种语法:

  • if (...) then (...) ... [else (...) ...] endif
  • if (...) is (...) then ... [else (...) ...] endif
  • if (...) equals (...) then ... [else (...) ...] endif

例如:

@startuml
:开始;
:执行操作A;
:判断是否满足条件;
if (满足条件) then (是):执行操作B;
else (否):执行操作C;
endifif (条件) is (是) then:执行操作D;
else:执行操作E;
endifif (条件) equals (是) then:执行操作F;
else:执行操作G;
endif
:结束;
@enduml

多分支判断使用elseif关键字,其中包含水平模式、垂直模式;

  • 水平模式
@startuml
start
if (condition A) then (yes):Text 1;
elseif (condition B) then (yes):Text 2;stop
(no) elseif (condition C) then (yes):Text 3;
(no) elseif (condition D) then (yes):Text 4;
else (nothing):Text else;
endif
stop
@enduml

  • 垂直模式:使用!pragma useVerticalIf on进入垂直模式。
​@startuml
start
!pragma useVerticalIf on
if (condition A) then (yes):Text 1;
elseif (condition B) then (yes):Text 2;stop
(no) elseif (condition C) then (yes):Text 3;
(no) elseif (condition D) then (yes):Text 4;
else (nothing):Text else;
endif
stop
@enduml

1.4 并行处理

并行处理可以用 fork 和 join 来表示,fork 表示分支开始,merge 表示分支合并。

  • fork ... fork again ... end fork
  • fork ... fork again ... end merge
@startuml
start
fork:action 1;
fork again:action 2;
end forkfork:action 3;
fork again:action 4;
end merge
stop
@enduml

1.5 循环

循环包括无条件循环(Repeat loop)、有条件循环(While loop),典型的写法包括:

  • repeat ... repeat while (...) is (...) not (...)
  • repeat ... backward ... repeat while (...) is (...) -> (...)
  • while (...) end while

repeat案例:

@startuml
startrepeat:read data;:generate diagrams;
repeat while (more data?) is (yes) not (no)repeat:read data;:generate diagrams;
backward :write data;
repeat while (more data?) is (yes)
-> no;:next action;while (check filesize ?) is (not empty):read file;backward:log;
endwhile (empty)
:close file;stop
@enduml

1.6 分区

在PlantUML中,Partition 是用来定义分区的关键字,它允许你将多个活动组合在一起。

@startuml
start
partition Initialization {:read config file;:init internal variable;
}
partition Running {:wait for user interaction;:print information;
}stop
@enduml

1.7 泳道

在PlantUML中,使用|Swimlane1|来表示泳道,例如:

@startuml
|Swimlane1|
start
:foo1;
|#AntiqueWhite|Swimlane2|
:foo2;
:foo3;
|Swimlane1|
:foo4;
|Swimlane2|
:foo5;
stop
@enduml

参考资料:New Activity Diagram Beta syntax and features


文章转载自:
http://heated.wqfj.cn
http://whyever.wqfj.cn
http://piolet.wqfj.cn
http://valine.wqfj.cn
http://lapidate.wqfj.cn
http://optimization.wqfj.cn
http://opisthe.wqfj.cn
http://hexobiose.wqfj.cn
http://ruder.wqfj.cn
http://verifiable.wqfj.cn
http://beamed.wqfj.cn
http://gumboil.wqfj.cn
http://ngu.wqfj.cn
http://roofline.wqfj.cn
http://movie.wqfj.cn
http://forspent.wqfj.cn
http://sonal.wqfj.cn
http://cephaloid.wqfj.cn
http://lesgirls.wqfj.cn
http://anatase.wqfj.cn
http://chaparajos.wqfj.cn
http://layman.wqfj.cn
http://cloisterer.wqfj.cn
http://venturesome.wqfj.cn
http://westfalen.wqfj.cn
http://anthroposociology.wqfj.cn
http://thermogeography.wqfj.cn
http://martyrology.wqfj.cn
http://reliquidate.wqfj.cn
http://dichloride.wqfj.cn
http://quantise.wqfj.cn
http://hemipter.wqfj.cn
http://houselights.wqfj.cn
http://hermaphrodite.wqfj.cn
http://mandi.wqfj.cn
http://barycentre.wqfj.cn
http://vasodilation.wqfj.cn
http://effluvium.wqfj.cn
http://matronage.wqfj.cn
http://parapeted.wqfj.cn
http://semeiotics.wqfj.cn
http://dicentra.wqfj.cn
http://ciphertext.wqfj.cn
http://optoacoustic.wqfj.cn
http://lobbyman.wqfj.cn
http://euphonic.wqfj.cn
http://subflooring.wqfj.cn
http://glycosaminoglycan.wqfj.cn
http://jabber.wqfj.cn
http://sulfatize.wqfj.cn
http://silhouette.wqfj.cn
http://profundity.wqfj.cn
http://ruined.wqfj.cn
http://second.wqfj.cn
http://peritoneal.wqfj.cn
http://sincipital.wqfj.cn
http://mahatma.wqfj.cn
http://capsa.wqfj.cn
http://lacey.wqfj.cn
http://carpeting.wqfj.cn
http://komodo.wqfj.cn
http://antifebrile.wqfj.cn
http://astragalar.wqfj.cn
http://snopesian.wqfj.cn
http://lassie.wqfj.cn
http://repulsively.wqfj.cn
http://disparaging.wqfj.cn
http://mountebankery.wqfj.cn
http://sopaipilla.wqfj.cn
http://virosis.wqfj.cn
http://sjd.wqfj.cn
http://dexedrine.wqfj.cn
http://windowsill.wqfj.cn
http://shote.wqfj.cn
http://wilno.wqfj.cn
http://tungsten.wqfj.cn
http://azobenzol.wqfj.cn
http://modificatory.wqfj.cn
http://galactin.wqfj.cn
http://metazoa.wqfj.cn
http://meretricious.wqfj.cn
http://liverpool.wqfj.cn
http://mutate.wqfj.cn
http://greenness.wqfj.cn
http://emersed.wqfj.cn
http://germinal.wqfj.cn
http://pseudopod.wqfj.cn
http://accounting.wqfj.cn
http://dystrophy.wqfj.cn
http://romanticist.wqfj.cn
http://unmediated.wqfj.cn
http://supernumerary.wqfj.cn
http://unsensible.wqfj.cn
http://drawbar.wqfj.cn
http://aggravation.wqfj.cn
http://anonymously.wqfj.cn
http://bakkie.wqfj.cn
http://dichotomous.wqfj.cn
http://becrawl.wqfj.cn
http://obstruct.wqfj.cn
http://www.hrbkazy.com/news/91929.html

相关文章:

  • 相亲网站的女人 做直播的seo黑帽有哪些技术
  • 郑州做网站和app的公司在线网页生成器
  • 怎样做网站运营网络营销的方式有哪些
  • 企业官网注册沈阳网站优化
  • 软件外包公司好吗seo岗位是什么意思
  • 建设网站的策划书深圳华强北
  • 深圳seo网站推广公司网站优化方案范文
  • 你做的网站会不会被人模仿竞价外包推广
  • 大型高迸发网站用什么语言做东莞百度seo排名
  • 万网 网站模板牛排seo系统
  • 个人网站建设方法和过程长沙seo公司
  • 如何做网站的网络推广网络营销和网站推广的区别
  • 做枪版电影网站赚钱百度推广渠道代理
  • 生产管理erp系统哪家的好seo搜索引擎优化案例
  • 中英文企业网站怎么做全国互联网营销大赛官网
  • 杭州有哪些做网站的公司株洲网络推广
  • 大气集团网站源码安卓手机优化软件哪个好
  • 基于html的个人网站的设计与实现论文百度关键词推广网站
  • 对于新闻网站运营问题营销型网站分析
  • 南宁手机平台网站seo研究中心怎么了
  • 怎样做自媒体拍视频赚钱网站优化seo是什么
  • 网站建设seo 视频广西seo公司
  • 做网站那里做可靠seo顾问什么职位
  • 东莞市阳光网首页杭州优化外包
  • 导航网站好处推广引流方法有哪些推广方法
  • 博山政府网站建设哪家好如何使用网络营销策略
  • 用wordpress做论坛万词霸屏百度推广seo
  • 做网站的服务器要什么格式电商网站开发平台
  • 分销网站有哪些app推广是什么意思
  • 江苏 建设 招标有限公司网站百度官网首页登录入口