百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

graph-editor

> 开发工具
开源

一个用于在 JavaFX 中创建和编辑图形类似的图表的库。

196 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

一个用于在 JavaFX 中创建和编辑图形类似的图表的库。

Graph Editor

A library for creating and editing graph-like diagrams in JavaFX.

This project is a fork of tesis-dynaware/graph-editor 1.3.1, which is no longer being maintained.

Features

  • Highly customizable

  • Add your own custom skins or restyle existing ones via CSS

  • Graphical effects where connections intersect:

  • Full undo / redo functionality via EMF commands

  • Selection API with cut, copy, paste

  • Alignment (optionally with snap-to-grid)

  • Editing of large graphs via a panning mechanism & minimap

  • Additional skin examples provided:

Example of a fully customized implementation:

Input gestures

Gesture Action
Middle-drag Pan the view
SPACE + primary-drag Pan the view
Primary-drag on empty canvas Rubber-band selection
Primary-drag on a node / joint Move the selection
Primary-drag on a node border Resize the node
Primary-drag from a connector Create a connection
Ctrl + scroll Zoom, anchored at the mouse pointer
Arrow keys / Page Up / Page Down / Home / End Pan with the keyboard

The secondary (right) mouse button is intentionally left unhandled, so that applications using this library are free to attach their own context menus. Only unmodified navigation keys are consumed, so application shortcuts keep working.

Localization

Strings used by the graph editor (currently only the ones read out by screen readers) come from a ResourceBundle and can be replaced per editor:

java
graphEditor.getProperties().setResourceBundle(ResourceBundle.getBundle("com.example.Messages"));

Keys that a custom bundle does not define fall back to the shipped English defaults, so upgrading never breaks an application with incomplete translations.

Use it

Maven coordinates:


  io.github.eckig.grapheditor
  grapheditor-core
  24.0.10

Download the latest Release.

Try the tutorials.

Demo

Run the sample application after cloning the repository with maven inside the demo module with mvn javafx:run.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Javaeditoremfgraphjava

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类开发工具
定价开源

> 相关工具

V
VS Code
流行的开源代码编辑器
G
Git
分布式版本控制系统
V
Vite
下一代前端构建工具