mirror of https://github.com/mingrammer/diagrams
config.py, CONTRIBUTING.md and what contributors actually run each named a different converter. Since the source SVGs are deleted after conversion, the PNG is the only artifact we keep, and two rasterisers emit different bytes for identical artwork. That is how #1204 landed 632 modified Azure icons with a single genuine visual change between them. Settle on rsvg-convert, which is what #1204 reached for and which installs without pulling in a GUI toolchain. The forced 256x256 output that config.py already declared is kept; rsvg-convert only preserves aspect ratio when asked to, so passing -w and -h is enough. Unlike inkscape it writes to stdout unless given an output path, so svg2png now names its destination the way svg2png2 already does. Teach cleaner_azure to drop the icon pack's numeric prefix so autogen.sh covers the whole conversion on its own, and rewrite the Azure section of CONTRIBUTING.md to point at it instead of a hand-rolled find command that never touched config.py. Docker images and the Mac setup notes follow. Fixes #1237pull/1239/head
parent
21151309da
commit
cddee5c9da
@ -0,0 +1,7 @@
|
||||
digraph "diagram-148bce0" {
|
||||
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-148bce0" nodesep=0.70 pad=2.0 rankdir=LR ranksep=0.90 splines=spline]
|
||||
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagepos=tc imagescale=true labelloc=b shape=box style=rounded width=1.4]
|
||||
edge [arrowsize=0.8 color="#495057"]
|
||||
"78a0f08af7ef40739cbd2412808a99db" [label=<<font point-size="12"><b>person</b></font><br/><font point-size="9">[External Person]<br/></font>> fillcolor=gray60 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style="rounded,filled" width=2]
|
||||
"014123c46da848ae8f700dfaeeeaed28" [label=<<font point-size="12"><b>external</b></font><br/><font point-size="9">[External System]<br/></font>> fillcolor=gray60 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
digraph "diagram-41afb8d" {
|
||||
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-41afb8d" nodesep=0.70 pad=2.0 rankdir=LR ranksep=0.90 splines=spline]
|
||||
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagepos=tc imagescale=true labelloc=b shape=box style=rounded width=1.4]
|
||||
edge [arrowsize=0.8 color="#495057"]
|
||||
"3c58e1471ef6411ebaf38d367a8d259f" [label=<<font point-size="12"><b>container1</b></font><br/><font point-size="9">[Container]<br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
|
||||
"2cefb5aa2e8149bea9c8c4dc7994d46b" [label=<<font point-size="12"><b>container2</b></font><br/><font point-size="9">[Container]<br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
|
||||
"3c58e1471ef6411ebaf38d367a8d259f" -> "2cefb5aa2e8149bea9c8c4dc7994d46b" [label=<<font point-size="10">depends on</font>> color=gray60 dir=forward fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 style=dashed]
|
||||
"3c58e1471ef6411ebaf38d367a8d259f" -> "2cefb5aa2e8149bea9c8c4dc7994d46b" [label=<<font point-size="10">is depended on by</font>> color=gray60 dir=back fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 style=dashed]
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
digraph "diagram-af8fef5" {
|
||||
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-af8fef5" nodesep=0.70 pad=2.0 rankdir=LR ranksep=0.90 splines=spline]
|
||||
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagepos=tc imagescale=true labelloc=b shape=box style=rounded width=1.4]
|
||||
edge [arrowsize=0.8 color="#495057"]
|
||||
"84ed3e0f206d495b86d309617b510c35" [label=<<font point-size="12"><b>system 1</b></font><br/><font point-size="9">[System]<br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
|
||||
"4d45c7c34b4d4b2ca0d8612edbc370a9" [label=<<font point-size="12"><b>system 2</b></font><br/><font point-size="9">[System]<br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
|
||||
"84ed3e0f206d495b86d309617b510c35" -> "4d45c7c34b4d4b2ca0d8612edbc370a9" [color=gray60 constraint=False dir=forward fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 style=dashed]
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
digraph "diagram-bbc0d60" {
|
||||
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-bbc0d60" nodesep=0.70 pad=2.0 rankdir=LR ranksep=0.90 splines=spline]
|
||||
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagepos=tc imagescale=true labelloc=b shape=box style=rounded width=1.4]
|
||||
edge [arrowsize=0.8 color="#495057"]
|
||||
"222c43da7c214ee682504f8b4d200a4c" [label=<<font point-size="12"><b>person</b></font><br/><font point-size="9">[Person]<br/></font><br/><font point-size="10">A person.<br/><br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1.6 labelloc=c shape=rect style="rounded,filled" width=2.6]
|
||||
"9a9be51209cf49c1b4a9733b8d73ed12" [label=<<font point-size="12"><b>container</b></font><br/><font point-size="9">[Container: Java application]<br/></font><br/><font point-size="10">The application.<br/><br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1.6 labelloc=c shape=rect style=filled width=2.6]
|
||||
"671efd01cb324573a3e3345a41d16228" [label=<<font point-size="12"><b>database</b></font><br/><font point-size="9">[Database: Oracle database]<br/></font><br/><font point-size="10">Stores information.<br/><br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1.6 labelloc=b shape=cylinder style=filled width=2.6]
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
digraph "diagram-bfd2e9a" {
|
||||
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-bfd2e9a" nodesep=0.70 pad=2.0 rankdir=LR ranksep=0.90 splines=spline]
|
||||
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagepos=tc imagescale=true labelloc=b shape=box style=rounded width=1.4]
|
||||
edge [arrowsize=0.8 color="#495057"]
|
||||
cb4bb0a70b684663a584ef16ed5c86de [label=<<font point-size="12"><b>container1</b></font><br/><font point-size="9">[Container]<br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
|
||||
"428291d5765342429ced394f65fbb463" [label=<<font point-size="12"><b>container2</b></font><br/><font point-size="9">[Container]<br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
|
||||
cb4bb0a70b684663a584ef16ed5c86de -> "428291d5765342429ced394f65fbb463" [dir=forward fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13]
|
||||
}
|
||||
@ -0,0 +1,7 @@
|
||||
digraph "diagram-c0e1f87" {
|
||||
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-c0e1f87" nodesep=0.70 pad=2.0 rankdir=LR ranksep=0.90 splines=spline]
|
||||
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagepos=tc imagescale=true labelloc=b shape=box style=rounded width=1.4]
|
||||
edge [arrowsize=0.8 color="#495057"]
|
||||
"65692efd972d4878a3ece16f8c0c2821" [label=<<font point-size="12"><b>system</b></font><br/><font point-size="9">[System]<br/></font><br/><font point-size="10">The internal system.<br/><br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1.6 labelloc=c shape=rect style=filled width=2.6]
|
||||
"616f387771ae4dac9c707fcacb7f6810" [label=<<font point-size="12"><b>unknown</b></font><br/><font point-size="9">[System]<br/></font>> fillcolor=dodgerblue4 fixedsize=true fontcolor=white height=1 labelloc=c shape=rect style=filled width=2]
|
||||
}
|
||||
@ -0,0 +1,9 @@
|
||||
digraph "diagram-fccf2eb" {
|
||||
graph [fontcolor="#2D3436" fontname="Sans-Serif" fontsize=15 label="diagram-fccf2eb" nodesep=0.70 pad=2.0 rankdir=LR ranksep=0.90 splines=spline]
|
||||
node [fixedsize=true fontcolor="#2D3436" fontname="Sans-Serif" fontsize=13 height=1.4 imagepos=tc imagescale=true labelloc=b shape=box style=rounded width=1.4]
|
||||
edge [arrowsize=0.8 color="#495057"]
|
||||
subgraph cluster_System {
|
||||
graph [bgcolor=white fontname="Sans-Serif" fontsize=12 label=System labeljust=l margin=16 pencolor="#ADB5BD" rankdir=LR shape=box style=dashed]
|
||||
"680ecb98ce7b4aa391d9b566b7bdba10" [label=<<font point-size="12"><b>container</b></font><br/><font point-size="9">[Container: type]<br/></font><br/><font point-size="10">description<br/><br/></font>> fillcolor=dodgerblue3 fixedsize=true fontcolor=white height=1.6 labelloc=c shape=rect style=filled width=2.6]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue