Skip to content

Commit c093549

Browse files
committed
[追記] Add Draw.io support and related images to documentation
1 parent c6d083d commit c093549

File tree

11 files changed

+151
-47
lines changed

11 files changed

+151
-47
lines changed
181 KB
Loading
21.6 KB
Loading

docs/Chapter04/images/hello.drawio.svg

Lines changed: 1 addition & 9 deletions
Loading

docs/index.html

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,6 +870,12 @@ <h3 id="_謝辞">謝辞</h3>
870870
<li>
871871
<p>ditaa - LGPL-3.0 license - <a href="https://github.com/stathissideris/ditaa" class="bare">https://github.com/stathissideris/ditaa</a></p>
872872
</li>
873+
<li>
874+
<p>Draw.io - Apache License 2.0 - <a href="https://github.com/jgraph/drawio" class="bare">https://github.com/jgraph/drawio</a></p>
875+
</li>
876+
<li>
877+
<p>vscode-drawio - GPL-3.0 license - <a href="https://github.com/hediet/vscode-drawio" class="bare">https://github.com/hediet/vscode-drawio</a></p>
878+
</li>
873879
</ul>
874880
</div>
875881
</dd>
@@ -4551,6 +4557,37 @@ <h3 id="_マインドマップ">4.9. マインドマップ</h3>
45514557
<img src="Chapter04/images/diag-mindmap-sample1.svg" alt="diag mindmap sample1" width="394" height="286">
45524558
</div>
45534559
</div>
4560+
<div style="page-break-after: always;"></div>
4561+
<div class="sidebarblock">
4562+
<div class="content">
4563+
<div class="title">Draw.io でのダイアグラム作成</div>
4564+
<div class="paragraph">
4565+
<p>Draw.io はオープンソースで提供されるウェブブラウザ上で任意のダイアグラムを描画できるツールです。VS Code では <code>hediet.vscode-drawio</code> 拡張を導入することで、次のように VS Code 上でオフライン Draw.io エディタが使用可能です。</p>
4566+
</div>
4567+
<div class="imageblock">
4568+
<div class="content">
4569+
<img src="Chapter04/images/drawio-01.png" alt="drawio 01" width="90%">
4570+
</div>
4571+
</div>
4572+
<div class="paragraph">
4573+
<p>本手順では Draw.io で作成した SVG ファイルを PDF 文書に埋め込んだ際に日本語が文字化けしないように事前設定がされています。Draw.io 上のテキストフォント設定は標準から変更せずに <code>Helvetica</code> を指定したままにしてください。</p>
4574+
</div>
4575+
<div class="imageblock">
4576+
<div class="content">
4577+
<img src="Chapter04/images/hello.drawio.svg" alt="hello.drawio">
4578+
</div>
4579+
</div>
4580+
<div class="paragraph">
4581+
<p>また、もし PDF 文書に挿入した SVG 画像に <code>Text is not SVG - cannot display</code> という文字がオーバーレイされてしまう場合は、<span class="menuseq"><b class="menu">File</b>&#160;<i class="fa fa-angle-right caret"></i> <b class="menuitem">Properties</b></span> から <b class="button">Disable SVG 1.1 warning</b> にチェックをつけ SVG 画像を保存し直してください。</p>
4582+
</div>
4583+
<div class="imageblock">
4584+
<div class="content">
4585+
<img src="Chapter04/images/drawio-02.png" alt="drawio 02">
4586+
</div>
4587+
</div>
4588+
</div>
4589+
</div>
4590+
<div style="page-break-after: always;"></div>
45544591
</div>
45554592
</div>
45564593
</div>
@@ -5140,7 +5177,7 @@ <h2 id="_奥付">奥付</h2>
51405177
<div id="footer">
51415178
<div id="footer-text">
51425179
バージョン 4.2.0<br>
5143-
最終更新 2023-10-15 10:54:52 +0900
5180+
最終更新 2024-11-21 18:49:38 +0900
51445181
</div>
51455182
</div>
51465183
</body>

docs/index.pdf

195 KB
Binary file not shown.

src/docs/asciidoc/Chapter00/index.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,8 @@ Asciidoc::
102102
Diagram::
103103
* PlantUML - Multi(MIT/Apache/BSD/EPL/GPLv3/LGPL) - https://github.com/plantuml/plantuml
104104
* ditaa - LGPL-3.0 license - https://github.com/stathissideris/ditaa
105+
* Draw.io - Apache License 2.0 - https://github.com/jgraph/drawio
106+
* vscode-drawio - GPL-3.0 license - https://github.com/hediet/vscode-drawio
105107
Java Development Kit & Build Tool::
106108
* Eclipse Temurin - Multi(Apache License 2.0/GPLv2+CE/GPLv2+Assembly) - https://adoptium.net/about/
107109
* SDKMAN - Apache License 2.0 - https://sdkman.io/

src/docs/asciidoc/Chapter04/drawio/hello.drawio.svg

Lines changed: 0 additions & 37 deletions
This file was deleted.
181 KB
Loading
21.6 KB
Loading
Lines changed: 91 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)