Categories
- Food (2)
- Investing (11)
- Kids (3)
- Programming (61)
- Thoughts (55)
- Uncategorized (1)
Tags
action android Argentina bond book Book review code code generation complexity craft delek nadlan Discworld donate eclipse editor EMF framework funny GEF graph help internals Investing investing guidelines israel java JGraph JUNG management mauldin novel opm passion programming research review Science fiction software software development style tase terry pratchett tutorial UML visual programmingFeeds
Tag Archives: JGraph
JGraph Styles
I build a reference program to test some of the styles that JGraphX provides. This is the result of the program: The full source code for this program follows:
Another day with JGraph – Styles and Constrained Children
Today I spent some more time playing with JGraph. The application I am creating requires three basic shapes: a rectangle, an ellipse and a roundtangle (rounded rectangle). All of these shapes are supported in JGraph using the styles mechanism, descibed here in the user manual. A very useful class that must be read and re-read for creating styles is mxConstants which contains many definitions for the style customizations and their possible values. For example, creating a style for an ellipse looks like this (using a bluish color): and the style for a rountangle looks like this (using a brownish color): … Continue reading
JGraph – Another Java Graph Framework
After some playing with JUNG (see examples 1, 2 and 3), I feel that it will be hard to use it for the application that I am writing… I need more edge versatility that the one provided by the simple API of Jung. So some more searching brought me to the JGraph framework. JGraph seems to provide great visual flexibility and also includes graph editing properties, which are needed in my application. As usual, the documentations of these open-source frameworks is not very user-friendly (there is a user manual, better than the one provided by most projects), but no step-by-step … Continue reading
