Hello, I'd like to create a "class diagram" (or "hierarchy chart") with ConText, something like: [class A] | \ V V [class B] [class C] Could anyone hint me how to start? Or which module to use? TikZ? - An initial hint would be appreciated, I'll study next... Thanks in advance, Lukas -- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038
Hi Lukáš,
Both Metapost and TikZ have modules for doing what you want.
There is metauml and pgf-umlcd.
regards
Keith.
Am 13.08.2014 um 09:49 schrieb Procházka Lukáš Ing. - Pontex s. r. o.
Hello,
I'd like to create a "class diagram" (or "hierarchy chart") with ConText, something like:
[class A] | \ V V [class B] [class C]
Could anyone hint me how to start? Or which module to use? TikZ?
- An initial hint would be appreciated, I'll study next...
Thanks in advance,
Lukas
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4
Tel: +420 241 096 751 Fax: +420 244 461 038
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Hello,
There is also TikZ-UML: http://perso.ensta-paristech.fr/~kielbasi/tikzuml/index.php?lang=en
Not personally tested with ConTeXt though. But i used it with LaTeX and it's a really good package.
Regards,
Stéphane.
----- Mail original -----
De: "Keith J. Schultz"
Hello,
I'd like to create a "class diagram" (or "hierarchy chart") with ConText, something like:
[class A] | \ V V [class B] [class C]
Could anyone hint me how to start? Or which module to use? TikZ?
- An initial hint would be appreciated, I'll study next...
Thanks in advance,
Lukas
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4
Tel: +420 241 096 751 Fax: +420 244 461 038
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
Hello, thanks both for the tips, I'm going to try. Best regards, Lukas -- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420 241 096 751 Fax: +420 244 461 038
Hi,
Another option is to use graphviz (dot) to create the graph as an SVG
file and then include that graphic. For example:
-- graph.dot --
digraph CL {
Home -> {Summary Account};
Summary -> {Proposal Resources Hypothesis Discuss};
Discuss -> {Support};
}
-- Run GraphViz --
dot -Tsvg graph.dot > graph.svg
-- Reference in ConTeXt --
\externalfigure[graph.svg]
Not as clean as embedded TikZ code, but the syntax is quite terse.
Dave
On Wed, Aug 13, 2014 at 3:19 AM, Procházka Lukáš Ing. - Pontex s. r.
o.
Hello,
thanks both for the tips, I'm going to try.
Best regards,
Lukas
-- Ing. Lukáš Procházka | mailto:LPr@pontex.cz Pontex s. r. o. | mailto:pontex@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4
Tel: +420 241 096 751 Fax: +420 244 461 038
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (4)
-
Keith J. Schultz
-
Procházka Lukáš Ing. - Pontex s. r. o.
-
stephleg@free.fr
-
Thangalin