1.DBserver 版本
免费中文版:https://objects.githubusercontent.com/github-production-release-asset-2e65be/44662669/a50b521a-2861-4826-8dfb-48b9da32f1f3?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20240906%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240906T054626Z&X-Amz-Expires=300&X-Amz-Signature=62f6c128b0bcc81587d88dfe7909967bb368541de34e4d88b82c3dad780cec42&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=44662669&response-content-disposition=attachment%3B%20filename%3Ddbeaver-ce-24.2.0-x86_64-setup.exe&response-content-type=application%2Foctet-stream
旧版本的链接样式只有IDEF1X(默认)
:强烈推荐用于设计关系数据库。它非常强调细节 实体关系和约束。有关更多信息,请参阅https://www.softwaregems.com.au/Documents/Documentary%20Examples/IDEF1X%20Notation.pdf。
新版本(23.3及以上)有Crows Foot:这种表示法被广泛使用,对于表示基数和 实体之间的关系。更多信息 在https://www2.cs.uregina.ca/~bernatja/crowsfoot.html。
2.操作
1.项目–>Diagrams–>创建
2.拖拽某张表,点击页面右边的小箭头(藏很深)
右键可以设置表显示的属性
3.点击右侧连接,然后连线,开始依赖于结尾。比如这里我先点newtable2,再点newtable,则表示newtable2的主键依赖于newtable。
点确定后生成连接
右键可选样式,一般使用Crows Foot样式
选择后变为下图样式
参考帮助文档:https://dbeaver.com/docs/dbeaver/Custom-Diagrams/23.3/