ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Class diagram in Ctx?
@ 2014-08-13  7:49 Procházka Lukáš Ing. - Pontex s. r. o.
  2014-08-13  8:40 ` Keith J. Schultz
  0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2014-08-13  7:49 UTC (permalink / raw)
  To: ConTeXt

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Class diagram in Ctx?
  2014-08-13  7:49 Class diagram in Ctx? Procházka Lukáš Ing. - Pontex s. r. o.
@ 2014-08-13  8:40 ` Keith J. Schultz
  2014-08-13  9:52   ` stephleg
  0 siblings, 1 reply; 5+ messages in thread
From: Keith J. Schultz @ 2014-08-13  8:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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. <LPr@pontex.cz>:

> 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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Class diagram in Ctx?
  2014-08-13  8:40 ` Keith J. Schultz
@ 2014-08-13  9:52   ` stephleg
  2014-08-13 10:19     ` Procházka Lukáš Ing. - Pontex s. r. o.
  0 siblings, 1 reply; 5+ messages in thread
From: stephleg @ 2014-08-13  9:52 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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" <keithjschultz@web.de>
À: "mailing list for ConTeXt users" <ntg-context@ntg.nl>
Envoyé: Mercredi 13 Août 2014 10:40:02
Objet: Re: [NTG-context] Class diagram in Ctx?

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. <LPr@pontex.cz>:

> 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
___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Class diagram in Ctx?
  2014-08-13  9:52   ` stephleg
@ 2014-08-13 10:19     ` Procházka Lukáš Ing. - Pontex s. r. o.
  2014-08-13 21:39       ` Thangalin
  0 siblings, 1 reply; 5+ messages in thread
From: Procházka Lukáš Ing. - Pontex s. r. o. @ 2014-08-13 10:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Class diagram in Ctx?
  2014-08-13 10:19     ` Procházka Lukáš Ing. - Pontex s. r. o.
@ 2014-08-13 21:39       ` Thangalin
  0 siblings, 0 replies; 5+ messages in thread
From: Thangalin @ 2014-08-13 21:39 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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. <LPr@pontex.cz> wrote:
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-08-13 21:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-13  7:49 Class diagram in Ctx? Procházka Lukáš Ing. - Pontex s. r. o.
2014-08-13  8:40 ` Keith J. Schultz
2014-08-13  9:52   ` stephleg
2014-08-13 10:19     ` Procházka Lukáš Ing. - Pontex s. r. o.
2014-08-13 21:39       ` Thangalin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).