Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable Interactive Graph Editor #4317

Open
onierstrasz opened this issue Feb 25, 2025 · 2 comments
Open

Configurable Interactive Graph Editor #4317

onierstrasz opened this issue Feb 25, 2025 · 2 comments
Assignees
Labels
demo Demos for GT book tutorials and case studies enhancement

Comments

@onierstrasz
Copy link
Contributor

Graphs in GT can only be built programmatically, either using Mondrian or directly in Bloc. An interactive editor would be useful not only for creating diagrams such as Mindmaps, but also other kinds of graphs, such as UML diagrams, roadmaps for Lepiter databases, and executable diagrams such as finite state automata, Petri nets, and attributed graph grammars. The idea is to have a generic graph editor that can be easily configured with to style the nodes and edges and their behavior. Styles could be specified in a Grammar of Graphics fashion.

A prototype of such an editor was previously built as party of the IMAD project, and could be reimplemented as a starting point.

Possible steps:

  • Implement a bare-bones editor (with just a basic style) based on the IMAD prototype
  • Extend the basic style to support creation of simple mindmaps
  • Add storeString support
  • Allow nodes to link to existing entities (classes, Lepiter pages, examples etc)
  • Implement use cases (UML diagrams, Lepiter roadmaps)
  • Define a specification format for styles so diagrams can be exported as JSON
@onierstrasz onierstrasz added demo Demos for GT book tutorials and case studies enhancement labels Feb 25, 2025
@onierstrasz onierstrasz self-assigned this Feb 25, 2025
@onierstrasz onierstrasz added this to GT Feb 25, 2025
@github-project-automation github-project-automation bot moved this to To do in GT Feb 25, 2025
@onierstrasz
Copy link
Contributor Author

TG suggests to build on the existing GtScenery prototype.

@asampal
Copy link

asampal commented Feb 25, 2025

It might be worth taking a look at Obsidian's Canvas for some inspiration - it's quite nice.

https://obsidian.md/canvas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
demo Demos for GT book tutorials and case studies enhancement
Projects
Status: To do
Development

No branches or pull requests

2 participants