|
Re: How to have an icon on a Rectangle/ Container Shape? [message #912345 is a reply to message #912332] |
Thu, 13 September 2012 11:47 |
Michael Wenz Messages: 1931 Registered: July 2009 Location: Walldorf, Germany |
Senior Member |
|
|
Deepak,
that's possible, and there are several ways to do it:
- each GraphicsAlgorithm (rectangle, ellipse,...) can have children, simply
a an Image GraphicsAlgorithm as child
- a container shape cna have several child shapes, each of theses shapes
needs a GraphicsAlgorithm, simply use a Image for one of the shapes
- there are decorators that can be added on top of each
shape/GraphicsAlgorithm without changing a diagram (can e.g. be used to
visualize errors).
HTH,
Michael
|
|
|
|
Re: How to have an icon on a Rectangle/ Container Shape? [message #912458 is a reply to message #912345] |
Thu, 13 September 2012 16:05 |
Hallvard Traetteberg Messages: 673 Registered: July 2009 Location: Trondheim, Norway |
Senior Member |
|
|
A follow-up question about images: I would like to use a URL instead of
an ID (key into map of resource paths). I see that graphiti internally
uses an ImageDescriptor, since it supports resource paths. However, (if)
I have an ImageDescriptor that supports URLs and would like to extend
graphiti with it, to support URLImages, how could I do that?
Hallvard
On 13.09.12 04.47, Michael Wenz wrote:
> Deepak,
>
> that's possible, and there are several ways to do it:
> - each GraphicsAlgorithm (rectangle, ellipse,...) can have children,
> simply a an Image GraphicsAlgorithm as child
> - a container shape cna have several child shapes, each of theses shapes
> needs a GraphicsAlgorithm, simply use a Image for one of the shapes
> - there are decorators that can be added on top of each
> shape/GraphicsAlgorithm without changing a diagram (can e.g. be used to
> visualize errors).
>
> HTH,
> Michael
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05180 seconds