Community
Participate
Working Groups
I've been working on an improved version of our flowchart example for a chapter in a Spanish book about modelling technologies, but I have an important constraint: due to space constraints, I can't use a polishing transformation, and custom figures are out of the scope of the book. Since ellipses and boxes wouldn't quite cut it for this example, I thought it'd be best to slightly improve Eugenia with a few new built-in shapes and finally add support for removing labels from a node. Being forced to use a polishing transformation just to remove something which shouldn't have been there always felt a bit irritating, after all. Examples: - This would draw a triangle: @gmf.node(figure='polygon', polygon.x="0 10 5", polygon.y="0 0 5") - This would draw a SVG file in a plugin: @gmf.node(figure='svg', svg.uri='platform:/plugin/my.plugin/icons/icon.svg') - This would omit creating a label for the node (but not its attributes): @gmf.node(label.placement='none') I've committed code which implements all these cases to SVN. SVG support is a little special, as it depends on the experimental GMF SDK. I also needed to extend the FixGMFGen built-in transformation so it could add the o.e.gmf.runtime.lite and o.e.gmf.runtime.lite.svg plugins to the GmfGen's requiredPlugins whenever a SVGFigure had been used somewhere in the GmfGraph model. Dimitris, Louis: could you take a look? The Eugenia regression tests still pass as usual, so I think I haven't broken anything, but just in case.
Marking as fixed, as I just committed it to SVN. BTW, it'd be nice if we could get an interim release shortly after closing this bug, so I could be sure there was a prepackaged version of Eugenia for the example in the book.
Thanks for implementing this. I've had a look at it and it looks fine to me. I'll try to release a new interim version that integrates this within the next few days.
This has now been integrated in the latest interim version.
I have listed these properties in the Eugenia article in the website.
Fixed in 1.0