View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0018410 | CentOS CI | general | public | 2022-02-26 00:45 | 2022-02-26 00:45 |
Reporter | kwanlowe | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | assigned | Resolution | open | ||
Summary | 0018410: Graphviz version 2.40.x does not generate correct graphs when used with PlantUML | ||||
Description | PlantUML is a widely used tool for generating documentation. The version of graphviz that is shipped with CentOS Stream is 2.40.x which produces incorrect graphs with PlantUML. The attached images show the difference between the graphviz 2.40.x version (default in CentOS Stream) and the 2.50.x version which I compiled directly from the upstream repository (https://graphviz.org/download/source/). When diagnosing this problem, I found many folks using CentOS/RedHat that could not properly produce diagrams whereas it worked fine on Ubuntu and other variants. | ||||
Steps To Reproduce | Download the plantuml jar from (https://plantuml.com/download) Create a test UML diagram (see attachment for example code). Generate a test image: java -jar plantuml.jar example.pu | ||||
Additional Information | Per https://plantuml.com/graphviz-dot, GraphViz versions 2.39 - 2.42 do not work well. The 2.50 build appears to be relatively straightforward. Except for some Java dependencies (looking for java-devel versus java-latest-openjsk-devel or similar), the build was mostly painless. | ||||
Tags | No tags attached. | ||||
example.pu (1,457 bytes)
@startuml !includeurl https://raw.githubusercontent.com/ebbypeter/Archimate-PlantUML/master/Archimate.puml title CentOS/RedHat graphviz example scale 1.0 skinparam defaultFontSize 35 skinparam classArrowFontSize 20 skinparam ArrowThickness 2 Group( Internet, "Internet \n") { Technology_Artifact( VaultShards, "Unlock Shards") Technology_Service( AWSKMS, "AWS KMS") } Group( UmbrellaCorp, "Umbrella Corporation"){ Group( ClusterVLAN, "Arkham") { Group( OCP_Cluster, "OpenShift Cluster") { collections WorkerNodes as "Worker Nodes" collections ControlPlane as "Control Plane" collections StoragePlane as "Container Storage" } Technology_Node( MirrorVault#LightBlue, "Vault Instance") } } Group( MiramarServerLan, "Miami"){ Technology_Node( DeployHost#LightBlue, "Deploy Host\nRHEL8-001") Technology_Service( Vault, "Hashicorp Vault") Technology_Artifact( PullSecrets, "Pull Secrets") Technology_Artifact( CACerts, "CA Certs") Technology_Artifact( SSHKeys, "SSH Keys") } Rel_Access_r(StoragePlane, MirrorVault, "Read KMS") Rel_Access_r(MirrorVault, AWSKMS, "Auto Unseal") Rel_Composition( AWSKMS, VaultShards) Rel_Composition_Up(Vault, PullSecrets) Rel_Composition_Up(Vault, CACerts) Rel_Composition_Up(Vault, SSHKeys) Rel_Access(DeployHost, MirrorVault, "Update") Vault --> DeployHost : Install Secrets ControlPlane --> WorkerNodes ControlPlane --> StoragePlane WorkerNodes -right-> StoragePlane : Read/Write @enduml versions.txt (1,007 bytes)
[root@vm-delilah-001 x86_64]# yum info graphviz Last metadata expiration check: 3:30:29 ago on Fri 25 Feb 2022 04:02:39 PM EST. Installed Packages Name : graphviz Version : 2.50.0 Release : 1.el8 Architecture : x86_64 Size : 77 k Source : graphviz-2.50.0-1.el8.src.rpm Repository : @System Summary : Graph Visualization Tools URL : https://graphviz.org/ License : EPL Description : A collection of tools for the manipulation and layout : of graphs (as in nodes and edges, not as in bar-charts). Available Packages Name : graphviz Version : 2.40.1 Release : 43.el8 Architecture : i686 Size : 1.9 M Source : graphviz-2.40.1-43.el8.src.rpm Repository : appstream Summary : Graph Visualization Tools URL : http://www.graphviz.org/ License : EPL-1.0 Description : A collection of tools for the manipulation and layout of graphs (as in nodes : and edges, not as in barcharts). |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2022-02-26 00:45 | kwanlowe | New Issue | |
2022-02-26 00:45 | kwanlowe | Status | new => assigned |
2022-02-26 00:45 | kwanlowe | File Added: example.pu | |
2022-02-26 00:45 | kwanlowe | File Added: graphviz-2.40.x.png | |
2022-02-26 00:45 | kwanlowe | File Added: graphviz-2.50.x.png | |
2022-02-26 00:45 | kwanlowe | File Added: versions.txt |