jpaulm / drawfbp

Tool for Creating and Exploring Flow-Based Programming Diagram Hierarchies
http://www.jpaulmorrison.com/fbp/
146 stars 20 forks source link

consider porting to javafx? #26

Closed darrencruse closed 4 years ago

darrencruse commented 5 years ago

not super serious (me I was interested in javafx at one time but haven't done anything but play with it) but this seems an obvious thought since of course javafx is meant as the successor to swing

https://openjfx.io/

I would think overall the result could/should feel more up to date (I notice e.g. on my Mac the fonts all look slightly soft/fuzzy I think they've improved the antialiasing in javafx so things look sharper - small thing but makes a better impression).

I'm not super up on how hard it would be at one time I'd looked into things I thought I'd found a lot of material on how to rewrite apps from swing to javafx but IIRC there were also options to incorporate javafx into swing apps (and even vice versa IIRC). So I think there's options besides a complete rewrite.

though (I just remembered) another advantage for developers using javafx was the nice drag and drop GUI editing with SceneBuilder in theory this might reduce the effort as well: https://gluonhq.com/products/scene-builder/

it seems like javafx has had trouble gaining popularity so there's definite cost/benefit tradeoffs here but from a brief google on "javafx diagram editor" there are some interesting javafx libraries for sure... some hits (the first looks esp. nice though I noticed I guess that is the library being used by another FBP-inspired tool? https://vrl-studio.mihosoft.eu/):

https://github.com/miho/VWorkflows http://jankoehnlein.github.io/FXDiagram/ https://github.com/tesis-dynaware/graph-editor https://platform.netbeans.org/graph/

This is a UML digram editor they ported from swing to javafx: https://github.com/prmr/JetUML they wrote up their experiences here: https://www.cs.mcgill.ca/~martin/papers/software2019.pdf

Not sure how relevant just thought this was an impressive use of javafx (flow diagrams in 3D? :) https://github.com/Nurtak/ObjectGraphVisualization