112 lines
2.3 KiB
Org Mode
112 lines
2.3 KiB
Org Mode
|
|
#+TITLE: Put the title here
|
||
|
|
#+AUTHOR: Rongsong Shen
|
||
|
|
#+EMAIL: shenrs@cn.ibm.com
|
||
|
|
#+OPTIONS: ^:{} H:2
|
||
|
|
#+STARTUP: showall
|
||
|
|
#+EXCLUDE_TAGS: hidden
|
||
|
|
#+LATEX_HEADER: \usepackage{tabularx}
|
||
|
|
|
||
|
|
#+LATEX: \usetikzlibrary{calc, shapes, backgrounds}
|
||
|
|
|
||
|
|
* DOCUMENT METADATA :hidden:
|
||
|
|
:PROPERTIES:
|
||
|
|
:THEME: mythemes
|
||
|
|
:REVIEWERS: Dog Wang
|
||
|
|
:VERSION: 1.0
|
||
|
|
:STATUS: Under Review
|
||
|
|
:CONTRIBUTORS:
|
||
|
|
:TYPE: Design
|
||
|
|
:END:
|
||
|
|
|
||
|
|
#+NAME: document-history
|
||
|
|
|-----+-------------+---------------+-----------------|
|
||
|
|
| 1.0 | Jul 17,2016 | Rongsong Shen | Initial version |
|
||
|
|
|-----+-------------+---------------+-----------------|
|
||
|
|
|
||
|
|
|
||
|
|
* Design Requirement
|
||
|
|
|
||
|
|
#+BEGIN_SRC tikz :file require.png :var tikz-libs="mindmap, trees, shadows, positioning"
|
||
|
|
[mindmap, concept color=green!40,text=black,
|
||
|
|
every annotation/.style={fill=red!20}
|
||
|
|
]
|
||
|
|
\node [concept] {Design}
|
||
|
|
child[grow=120,concept color=blue!40] {
|
||
|
|
node[concept] {Goal}
|
||
|
|
child[grow=60] {
|
||
|
|
node[concept] {Goal 1}
|
||
|
|
}
|
||
|
|
child[grow=150] {
|
||
|
|
node[concept] {Goal 2}
|
||
|
|
}
|
||
|
|
child[grow=-120] {
|
||
|
|
node[concept] {Goal 3}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
child[grow=0,concept color=yellow,text=black] {
|
||
|
|
node[concept] {Assumption}
|
||
|
|
child[grow=120] {
|
||
|
|
node[concept] {Assumption 1}
|
||
|
|
}
|
||
|
|
child[grow=0] {
|
||
|
|
node[concept] {Assumption 2}
|
||
|
|
}
|
||
|
|
child[grow=-120] {
|
||
|
|
node[concept] {Assumption 3}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
child[grow=-120,concept color=green] {
|
||
|
|
node[concept] {Use Cases}
|
||
|
|
child[grow=0] {
|
||
|
|
node[concept] {Use case 1}
|
||
|
|
}
|
||
|
|
child[grow=120] {
|
||
|
|
node[concept] {Use Case 2}
|
||
|
|
}
|
||
|
|
child[grow=-120] {
|
||
|
|
node[concept] {Use Case 3}
|
||
|
|
}
|
||
|
|
};
|
||
|
|
#+END_SRC
|
||
|
|
|
||
|
|
#+RESULTS:
|
||
|
|
[[file:require.png]]
|
||
|
|
|
||
|
|
** Goals
|
||
|
|
|
||
|
|
|
||
|
|
** Assumptions
|
||
|
|
|
||
|
|
** Use Cases
|
||
|
|
|
||
|
|
* Design
|
||
|
|
|
||
|
|
** Design decisions
|
||
|
|
|
||
|
|
** Execution flow
|
||
|
|
|
||
|
|
** Interface design
|
||
|
|
|
||
|
|
** Components design
|
||
|
|
|
||
|
|
#+BEGIN_SRC metapost :file ex.png
|
||
|
|
def midpoint(expr a,b) = 0.5[a,b] enddef;
|
||
|
|
u=1cm;
|
||
|
|
z0=(0,0);
|
||
|
|
z1=(2u,2u);
|
||
|
|
z2=(3u,0);
|
||
|
|
z3=(0,3u);
|
||
|
|
z4=(4u,4u);
|
||
|
|
draw z0--z1--z2--z3--z4--cycle;
|
||
|
|
draw midpoint(z0,z1){dir 0} .. midpoint(z1,z2){dir 90}
|
||
|
|
.. midpoint(z2,z3){dir 180}..midpoint(z3,z4){dir 270}
|
||
|
|
.. midpoint(z4,z0){dir 0} ..{dir 45}cycle;
|
||
|
|
#+END_SRC
|
||
|
|
|
||
|
|
#+RESULTS:
|
||
|
|
[[file:ex.png]]
|
||
|
|
|
||
|
|
# Local Variables:
|
||
|
|
# End:
|
||
|
|
|