[PATCH] Switch graphviz files to use HTML-style labels

Pekka Paalanen ppaalanen at gmail.com
Thu Jul 27 12:01:53 UTC 2017


On Thu,  1 Jun 2017 22:48:29 -0400
otaylor at redhat.com wrote:

> From: "Owen W. Taylor" <otaylor at fishsoup.net>
> 
> With recent versions of graphviz, generation of the diagrams in the documentation
> fails with:
> 
>  /usr/bin/dot -Tpng -oxml/x-architecture.png dot/x-architecture.gv
>  Warning: flat edge between adjacent nodes one of which has a record shape - replace records with HTML-like labels
>    Edge xserver -> comp
>  Error: getsplinepoints: no spline points available for edge (xserver,comp)
>  Error: lost xserver comp edge
>  Error: lost xserver comp edge
>  Error: lost comp xserver edge
>  Error: lost comp xserver edge
> 
> http://www.graphviz.org/content/i-havent-been-able-render-these-files-graphviz-226 indicates
> that the error message basically means that the authors of graphviz consider record-style
> labels to be deprecated and are no longer fixing errors with them. This patch changes
> the labels to be in the HTML style, which seems to require duplicating style between all
> the nodes, but it's not like these files are often edited.
> 
> The result is not exactly the same but is quite similar.
> ---
>  doc/doxygen/dot/wayland-architecture.gv | 13 +++++--------
>  doc/doxygen/dot/x-architecture.gv       | 17 ++++++++---------
>  2 files changed, 13 insertions(+), 17 deletions(-)
> 

Hi Owen,

very good, thank you. Armin reviewed and tested this as well.
Pushed:
   897256d..042e7ea  master -> master


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170727/99987694/attachment.sig>


More information about the wayland-devel mailing list