schemaQVT_new.tex 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. %\documentclass{article}
  2. %\def\xcolorversion{2.00}
  3. %\def\xkeyvalversion{1.8}
  4. %
  5. %\usepackage[version=0.96]{pgf}
  6. %\usepackage{tikz}
  7. %\usetikzlibrary{arrows,shapes,shapes.arrows,snakes,backgrounds,positioning,shapes.multipart}
  8. %\usepackage[latin1]{inputenc}
  9. %\usepackage{verbatim}
  10. %
  11. %\begin{document}
  12. %
  13. %\begin{comment}
  14. %:Title: Architecture QVT
  15. %
  16. %\end{comment}
  17. %%[>=latex]
  18. %
  19. %
  20. \begin{tikzpicture}[on grid, auto, node distance=2.5cm, scale=1.0, every text node part/.style={align=center}]
  21. \node [name=r2c,
  22. minimum width=4cm,
  23. minimum height=1cm,
  24. arrow box,
  25. arrow box shaft width=0.5cm,
  26. % arrow box head indent=0.1cm,
  27. % arrow box head extend=0.1cm,
  28. inner sep=0.125cm/2, % should be half shaft width
  29. draw,
  30. fill=green!30!yellow!70,
  31. arrow box arrows={south:0.5cm}] at (-1.0,0.0)
  32. {\textbf{RelationsToCore}\\\textbf{Transformation}};
  33. \node[draw,
  34. minimum height=3.5cm,
  35. text width=2.5cm,
  36. left of=r2c,
  37. fill=yellow!55,
  38. xshift=-3cm,
  39. yshift=-0.3cm] (opmappings){\large \textbf{Operational\\Mappings}};
  40. \node[draw,
  41. minimum height=1cm,
  42. minimum width=5.5cm,
  43. above of=r2c,
  44. fill=yellow!55,
  45. yshift=-1.5cm] (relations){\large \textbf{Relations}};
  46. \node[draw,
  47. minimum height=1cm,
  48. minimum width=5.5cm,
  49. below of=r2c,
  50. fill=yellow!55,
  51. yshift=0.98cm] (core){\large \textbf{Core}};
  52. \node[draw,
  53. minimum height=3.5cm,
  54. text width=2.5cm,
  55. right of=r2c,
  56. fill=black,
  57. text=white,
  58. xshift=3cm,
  59. yshift=-0.3cm] (blackbox){\large \textbf{Black\\Box}};
  60. %\path[->] (opmappings) edge (relations);
  61. \draw[-triangle 60, thick] (opmappings)+(1.36,1.3) -- (relations) {};
  62. %\path[->] (opmappings) edge (core);
  63. \draw[-triangle 60, thick] (opmappings)+(1.36,-1.2) -- (core) {};
  64. %\path[->] (blackbox) edge (relations);
  65. \draw[-triangle 60, thick] (blackbox)+(-1.36,1.3) -- (relations) {};
  66. %\path[->] (blackbox) edge (core);
  67. \draw[-triangle 60, thick] (blackbox)+(-1.36,-1.2) -- (core) {};
  68. \end{tikzpicture}
  69. %
  70. %\end{document}