Article View: comp.text.tex
Article #85CTAN update: tkz-graph
From: CTAN Announcements
Date: Wed, 21 Oct 2026 14:31
Date: Wed, 21 Oct 2026 14:31
98 lines
6627 bytes
6627 bytes
Alain Matthes submitted an update to the
tkz-graph
package.
Version: 2.20c 2026-10-20
License: lppl1.3
Summary description: Draw graph-theory graphs
Announcement text:
--------------------------------------------------------------------------------
## [2.20c] — 2026/10/20
### Changed
- Keys use `pgfkeys` instead of `xkeyval`: same names, same default values,
same results. The behaviour of `\presetkeys` is kept (preset values apply
only to the keys not given; `\SetVertexMath`, `\SetUpEdge`, `\GraphInit`...
still change them).
- `xkeyval` is no longer loaded: a document that used it without loading it
must now load it.
- `vstyle` and the `dir` key of `\grLoop` accept a macro as value.
- The short names (`\Vertex`, `\Vertices`, `\Edge`, `\Edges`, `\Loop`, `\EA`,
`\WE`, `\NO`, `\SO`, `\NOEA`, `\NOWE`, `\SOEA`, `\SOWE`) are installed at the
beginning of each `tikzpicture`. A definition of `\EA`, `\NO`... made
elsewhere (by the user or another package) keeps its meaning outside the
pictures. If such a name is already defined when tkz-graph is loaded, a
warning gives the prefixed name.
- The code calls only internal commands (`\tkzgr@...`); tkz-berge does the same.
- Each `vstyle` is a pgfkeys key (`/tkzgraph/vstyle/<name>`).
- Internal macros protected; `\ifthenelse` no longer used internally
(`ifthen` is still loaded); `etex` removed; `\fileversion` and `\filedate`
are no longer redefined.
### Fixed
- `\AddVertexColor` and `\Vertices` no longer depend on global helper macros
(`\deb`, `\fin`, `\v`, `\liste`...).
- A second `\GraphInit[vstyle=...]` in the same group was ignored and wrote
its value in the text (the internal macro `\GR@init@vstyle` overwrote the
key itself).
### Added
- Prefixed names, always available: `\tkzVertex`, `\tkzVertices`, `\tkzEdge`,
`\tkzEdges`, `\tkzLoop`, `\tkzEA`, `\tkzWE`, `\tkzNO`, `\tkzSO`, `\tkzNOEA`,
`\tkzNOWE`, `\tkzSOEA`, `\tkzSOWE`.
- Package option `noshortnames`: the short names are never defined.
- `\tkzDefGraphStyle{<name>}{<code>}` defines a new style for
`\GraphInit[vstyle=<name>]` (name case insensitive).
- `\tkzSetUpGraph[...]`: local settings of the vertices, edges and labels
(`vertex shape`, `vertex line width`, `vertex line color`, `vertex text color`,
`vertex fill`, `light fill`, `dark fill`, `ball color`, `inner sep`,
`outer sep`, `small size`, `medium size`, `big size`, `edge color`,
`edge width`, `edge fill`, `art color`, `double distance`, `label text`,
`label fill`, `unit`), `directed` (an arrow on every edge) and `arrow tip`.
It replaces the `\renewcommand` of `\VertexShape`, `\EdgeLineWidth`...
- Keys `->`, `<-`, `<->`, `-` and `arrow` for `\Edge` and `\Edges`.
- Keys `rotation` (angle of the first vertex) and `clockwise` for
`\Vertices{circle}`.
- `\tkzHighlightPath[options]{A,B,C}` (path, option `cycle`) and
`\tkzHighlightPath{A/B,C/D}` (edges): edges drawn again over the graph
(`color`, `lw`, `style`).
- `\tkzAdjacencyMatrix[options]`: adjacency matrix of the graph of the last
picture (options `directed`, `order`).
- `\tkzGraphFromMatrix[options]{A,B,C}{0,1,1;1,0,1;1,1,0}`: graph (vertices
on a circle, or `placed`) from a matrix; options `directed`, `weighted`,
`unit`, `rotation`, `clockwise`, `style`, `loop distance`, `bend`.
- `\grProbMatrix{A,B,C}{matrix}`: probabilistic graph with any number of
states, from the transition matrix.
### Compatibility
- Same rendering for the existing documents. `arrows.meta` is not loaded
(it changes slightly the default tip); load it to use `arrow tip=Stealth`.
- tkz-berge must be 2.20c or later (older versions need `xkeyval`).
--------------------------------------------------------------------------------
This package is located at
https://mirrors.ctan.org/macros/latex/contrib/tkz/tkz-graph
More information is at
https://ctan.org/pkg/tkz-graph
--------------------------------------------------------------------------------
Thanks for the upload.
For the CTAN Team
Manfred Lotz
CTAN is run entirely by volunteers and supported by TeX user groups.
Please join a user group or donate to one, see https://ctan.org/lugs .
Technical Details
Message-ID:
<b50cffe3934730a3@hogwart>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: CTAN Announcements <manfred@ctan.org> Newsgroups: comp.text.tex Subject: CTAN update: tkz-graph Date: Wed, 21 Oct 2026 16:31:15 +0200 (CEST) Organization: CTAN Lines: 98 Message-ID: <b50cffe3934730a3@hogwart> Content-Type: text/plain; charset=utf-8 Injection-Info: solani.org; logging-data="158460"; mail-complaints-to="abuse@news.solani.org" To: ctan-ann@ctan.org Cancel-Lock: sha1:rMNvXzuwVD22e9IYMHQIiAkcm/s= X-Rspamd-Action: no action Precedence: list X-MailFrom: manfred@ctan.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ctan.org; s=201703; t=1792593075; bh=Gv44EeD4OFaHssSQvik/WhjV/uKoBqMUC48GSM5DwOo=; h=Date:From:To:Subject:From; b=TTXQr2M5zDWR7SabJfAtEGqrdqzg4tQ/ZrfeKcq0Kl7OhsP1dSReOxnOhZxuKPx/w jAURJQ5FqlJmr7qFCcRGMueD5ugmitNMxtQcFeJxv4Kss5iRgY0gFxXF52dtaGmLd0 sBbnqXyLLpbCVPGSlnDdNBwysfr5nfO2sAg7Tpvg= X-Mailman-Rule-Hits: member-moderation X-Spamd-Result: default: False [0.45 / 16.00]; BAYES_HAM(-3.00)[100.00%]; MISSING_MIME_VERSION(2.00)[]; R_BAD_CTE_7BIT(1.05)[unknown,utf8]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.10)[text/plain]; TO_DOM_EQ_FROM_DOM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MISSING_XM_UA(0.00)[]; ARC_NA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; ASN(0.00)[asn:3320, ipnet:2003::/19, country:DE]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_ENVRCPT(0.00)[mac.com]; RECEIVED_HELO_LOCALHOST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; LOCAL_OUTBOUND(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_TLS_LAST(0.00)[]; HAS_ORG_HEADER(0.00)[] X-Rspamd-Server: irony Message-ID-Hash: DHRHKDAN7O6L3DNOTIMSXVB35ABFJNTZ X-Rspamd-Queue-Id: 926F181077 X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address X-Mailman-Version: 3.3.8 X-Message-ID-Hash: DHRHKDAN7O6L3DNOTIMSXVB35ABFJNTZ X-User-ID: eJwFwYEBACAEBMCV8vEyDtL+I3Rnm8J2pVHt2ds24kPkXstOF+MooYm8b91UdEkUhi7A3PgNQxDD