Questions tagged [metauml]
MetaUML is a MetaPost library for typesetting Unified Modeling Language (UML) diagrams, using a human-friendly textual notation.
30
questions
0
votes
1answer
32 views
Centering UML diagrams in MetaUML
I'm using LuaTex to draw some UML diagrams in MetaUML. The diagrams appear left align in the page. How do I center them?
I tried \centering before the mplibcode environment and also tried enclosing ...
0
votes
0answers
26 views
MetaUML: update to master branch version
I've got installed MetaPost (and MetaUML) automatically with my Tex editor but now I want to update it with the version available on Github in the master branch.
Didn't find anything relevant on ...
1
vote
3answers
135 views
How do I change the font of a graphic in latex?
I started working on a simple UML diagram for a final Java project. I started by reading a lot on the metauml github repository and this example in particular. As you can see by the attached image, ...
0
votes
0answers
39 views
How to set stereotype on class parameter or method in MetaPOST
I want to be able to set event stereotype on a method, inside a class. I've read through the documentation, but found nothing on this subject.
As shown below, the <<<event>>> part ...
0
votes
0answers
128 views
Create Component does not work! MetaUml: Using MetaPost in LuaLaTeX
I am trying to create a component diagram using MetaUml embedded in TeX using LuaLaTeX. Every example form the manual I tried, worked well except from components.
\documentclass{article}
\usepackage{...
1
vote
1answer
315 views
tikz class diagram recursive relation
i need to draw a classdiagram with recursive rectangled pointers.
My intention was to draw two rectangles and rotate one as read in a other post...
but how do i position them right?
MWP
\...
0
votes
1answer
141 views
not able to redo the tikz-uml usecase manual sample
in tikzumlmanual.pdf i found on page 34 a sample of a usecasesystem that i wold like to test. But i can't redo it.
the MWS is:
\documentclass[12pt]{article}
\usepackage{geometry} % see geometry.pdf ...
1
vote
1answer
46 views
include metauml diagrams in different sizes
I have made some UML diagrams using metauml. They fit perfectly into a report, but I would also like to include them in a beamer presentation. Unfortunately, they are too wide to fit a slide.
I use \...
0
votes
1answer
86 views
How to change colors in state machine diagram?
I've managed to change colors of classes in classes diagrams using
iClass.foreColor := (0.75, 1, 1);
but apparently
iState.forecolor := (0.75, 1, 1);
doesn't work. I can't find anything in the ...
0
votes
1answer
42 views
Symbolic visibility markers in MetaUML
My question is very similar to this:Omitting visibility marker in MetaUML
Is there any way to leave +, - and # symbols as they are, without drawing locks?
2
votes
1answer
122 views
No output using MetaUML and emp
I tried using MetaUML to create UML diagrams for my LaTeX file, but for some reason, I do not get an output. Still, TEXnicCenter 2.02 (64bit) compiles without error.
I already tried a previous ...
1
vote
0answers
145 views
Minipage inside MetaUML Activity Diagram
I want to use Minipage environment inside MetaUML Activity Diagrams. The following MWE will not compile (tried mpost and mptopdf). When using the next line instead of the minipage-line, compiling is ...
1
vote
1answer
614 views
metaUML class diagram: set some methods as abstract in an abstract class
I usually found the answer of my questions in StackExchange or over Internet. But this time I can't. I look for a lot yesterday and I didn't find a solution.
Recently I started to use LaTex, and I'm ...
3
votes
1answer
300 views
Generate .1 files from MetaUML .mp files automatically with latexmk
I'm currently creating a personal LaTeX package and base .tex document that I can use to typeset my Computer Science reports at my university. One of the features I would like to have is to make UML ...
3
votes
1answer
206 views
Increase image resolution using MetaUML and metapost
I'm using MetaUML to create text-driven UML diagrams. When I generate a figure, with:
$ mpost example.mp
$ convert ps:example.1 png:example.png
a very low-resolution image is generated. If I scale ...
2
votes
1answer
225 views
Linebreaks in MetaUML
I'm trying to draw an UML diagram with MetaUML for my LaTeX document. Unfortunatly I'm a little bit dissatisfied with the layout because functions with a long signature (i.e. many parameters) become ...
1
vote
1answer
268 views
Omitting visibility marker in MetaUML
Is there a way to omit the visibility (lock symbol) marker in MetaUML Class objects?
If I just refrain to use one I get a protected marker as a default.
A short example (note: the LaTeX builder has ...
3
votes
1answer
346 views
Drawing custom shape with MetaUML
How to draw image like this:
I use MetaUML package for drawing Uml.
Can it be used to draw this image? I want to keep my image styles uniform and don't want to use other drawing package just for one ...
6
votes
2answers
357 views
Beamer & MetaUML - can't see any diagram
On compilation, I just see
Why isn't the class visible? Here is the code:
\documentclass{beamer}
\usepackage[shellescape,latex]{gmp}
\usetheme{Montpellier}
\title{Something}
\date{\today}
\begin{...
1
vote
0answers
288 views
Compilation error when using MetaUML on Windows [closed]
When I try to compile a MetaUML program on Windows, I get the following error:
Font ptmr8r not usable: TFM file not found
I Googled this error, and I found that I have to install texlive-fonts-...
3
votes
1answer
151 views
MetaUML with LyX?
How to install MetaUML for LyX?
How to use it? Is there a site where I can find resources about this subject?
And if not, is there an equivalent tool for this not Dia?
3
votes
2answers
734 views
How to change the font for metauml?
I am using the emp package in order to use metauml for drawing UML-models. So far so good.
this is a minimal example:
\documentclass{scrartcl}
\usepackage{emp}
\ifx\pdftexversion\undefined
\...
4
votes
1answer
369 views
Non-intersecting lines on class diagram
\documentclass{article}
\usepackage[shellescape]{gmp}
\begin{document}
\begin{mpost}[use,mpsettings={input metauml;}]
Class.A("A")()();
Class.B("B")()();
Class.C("C")()();
Class.D("D")()();
B.n = A....
5
votes
1answer
577 views
metauml: Realization link doesn't work
\documentclass{article}
\usepackage[shellescape]{gmp}
\begin{document}
\begin{figure}
\begin{mpost}[use]
input metauml;
Interface.A("Interface")
();
A.info.iAttributeStack.top := 0;
A.info....
3
votes
1answer
1k views
metauml installation and usage error
This question is a bit broad but I am trying to install metauml (I am using Mac and texlive). I downloaded the package and ran the install script which put a metauml directory under the metapost ...
4
votes
3answers
520 views
Underline in metauml
\documentclass{article}
\usepackage[shellescape]{gmp}
\begin{document}
\begin{figure}
\begin{mpost}[use]
input metauml;
Class.A("A")
("-instance: A")
("-A()",
"+instance(): A");
...
6
votes
1answer
416 views
How can I use german umlauts in MetaUML
I have the following files:
metaumlfile.mp:
input metauml;
beginfig(1);
Class.Benutzer("Benutzer")
()
("+üben(): void");
drawObjects(Benutzer);
endfig;
end
latexfile....
2
votes
1answer
744 views
Generate Entity-Relationship Diagram then generate SQL from that
Using a LaTeX or similar text-macro tool/library, how can I generate an Entity-Relationship Diagram then generate SQL from it?
1
vote
1answer
4k views
Generating UML Entity-Relationship Diagrams in LaTeX
Would you recommend LaTeX for this kind of UML diagramming?
http://yuml.me/ is great for quickly drawing Use Case and Class diagrams.
Please recommend a library of some sort for LaTeX, or ...
3
votes
1answer
2k views
MetaUML: via emp package for LaTeX gives no output
The following example prints only the figure's caption:
\documentclass[a4paper,11pt]{article}
\usepackage{emp}
\ifx\pdftexversion\undefined
\usepackage[dvips]{graphicx}
\else
\usepackage[pdftex]{...