Giter VIP home page Giter VIP logo

fxgraph's People

Contributors

col-e avatar dependabot[bot] avatar octogonapus avatar sirolf2009 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fxgraph's Issues

What is the license?

Hey,
In the repository the license file is a WTFPL, but in the pom.xml file (line 79) the license is GPL :

	<licenses>
		<license>
			<name>GNU General Public License v3.0</name>
			<url>https://www.gnu.org/licenses/gpl-3.0.en.html</url>
			<distribution>repo</distribution>
		</license>
	</licenses>

What is the right license? Or the code is under both licenses?
Thanks!

Sequence Diagram Feature

Hi,

Nice project. It was exactly what I was looking for to render some sequence diagrams programatically using JavaFX. An interesting new feature on the SequenceDiagram.addMessage call would be a fourth parameter called "details". The third parameter has the event name and that is great for overall visualization. But if one were to hover over the event name, perhaps the details could appear in a pop-up box to represent the event payload. There could be other ways to do this such as a button click, but the general idea is to be able to attach additional details to the event/message that are hidden by default.

Cheers,
John

Cannot Pan Graph with primary mouse button

Hello, thanks for your work, it's the best graph visualization library tried so far.
My current problem is that i cannot pan the pane of the graph, even the main app does not work (Currently using openjdk14 on Ubuntu 19.10 with javafx 13).

Moreover it would be great to be able to pan the graph around using the arrow keys on the keyboard.

I hope it's an easy fix, thank you again

-- EDIT --

I discovered that the mouse panning is actually implemented and it works correctly, but it has to be done with the secondary mouse button. This is very uncomfortable for a laptop user, so in my opinion it should be done with the primary mouse button. This can cause a problem when dragging a node, because both cell and graph start moving around. The simple solution I found is to consume the node dragging event. If this sounds good for you I can add this feature to my pull request, it's an easy fix.

Childless node won't stay on selected level.

Hey there,

First of all, thank you so much for your work on fxgraph! I was wondering if you can tell me how to modify the code so that a childless node can stay on any level instead of just on the most-bottom level?

For example:
In my second level here, the node on the left has 2 children whereas the node on the right has 3.
image

As soon as I remove the 2 children of the left node, the graph transforms into this:
image

I would like for that left node on the second level to remain on the second level with the right node and for the 3 children of the right node to remain on the third level, like so:
image

Would this be possible? Any help and advice you can give is greatly appreciated. Thanks again!

"RectangleCell in class RectangleCell cannot be applied to given types" and custom nodes

Thank you for sharing this library.
When I copy the code, there is an error on the constructor of RectangleCell and TriangleCell.
I have fixed it passing an empty string "" to the constructor.
Example from this:
final ICell cellA = new RectangleCell(); // Or final ICell cellD = new TriangleCell();
to
final ICell cellA = new RectangleCell(""); // Or final ICell cellD = new TriangleCell("");
Is it normal or I have installed this library not correctly?
Thanks.

How is the performance like?

Looks like all the rendering is based on javafx library. How is the performance like when we have many(like thousands of ) node/edges on the canvas?

Canvas Zoom Bug

Describe the bug
Zooming in zooms the view by something around 50% (i.e., way too much). Zooming out does not actually zoom the view and instead translates the view to the right a bit.

Steps To Reproduce
Load the example code from the readme and try to zoom in and out.

Expected behavior
Zooming in should zoom the view in by something more reasonable, maybe 5% or 10%. Zooming out should zoom the view out by the same amount without panning the view.

Versions
JavaFX 13. fxgraph 0.0.3.

Additional Information
I know you are short for time; if you point me in the right direction, I can work on trying to fix this.

Unknown license

Hello! First of all thanks for sharing this code with everyone. We are pondering using it and also contributing back some improvements, but we don't know the license of this project.

Could you please license it?

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.