「draw.io」- diagrams.net by JGraph

认识

官网:https://www.drawio.com/
文档:
仓库:https://github.com/jgraph/drawio-desktop | https://github.com/jgraph/drawio

构建

—— 该笔记将记录:在 Linux(Ubuntu、Debian、CentOS) 中,安装 drawio-desktop 方法,以及常见问题的解决方法。

draw.io Integrations https://www.drawio.com/integrations

我们暂未采用自建 draw.io 服务,而是使用它的客户端 jgraph/drawio-desktop 软件;

通过 AppImage 运行

wget https://github.com/jgraph/drawio-desktop/releases/download/v14.6.13/drawio-x86_64-14.6.13.AppImage
chmod u+x drawio-x86_64-14.6.13.AppImage
./drawio-x86_64-14.6.13.AppImage

# 04/12/2022 现在已发布 drawio-desktop v17.4.2 版本;

通过 Flatpak 安装

https://flathub.org/apps/com.jgraph.drawio.desktop
flatpak install flathub com.jgraph.drawio.desktop
flatpak run com.jgraph.drawio.desktop

应用

场景 | 桌面版导入图标

File ⇒ New Library…

改进

chrome-sandbox is owned by root and has mode 4755

Solve “The SUID sandbox helper binary was found, but is not configured correctly.” (3 solutions!) | by Authmane Terki | Medium

问题描述:在启动 drawio-desktop.AppImage 应用时,产生如下错误信息:

[11441:1216/003855.672724:FATAL:setuid_sandbox_host.cc(158)] The SUID sandbox he
lper binary was found, but is not configured correctly. Rather than run without
sandboxing I'm aborting now. You need to make sure that /tmp/.mount_draw.ijM9w4w
/chrome-sandbox is owned by root and has mode 4755.
Trace/breakpoint trap

原因分析:这是个老问题了,只需要在启动时指定 –no-sandbox 选项即可;

解决方案

drawio-desktop.AppImage --no-sandbox