Hello,\nI need to draw an additional rectangle that contain the traditional rectangle.\nThe outbound rectangle has the property that it will draw connect circle with some special edges of the inside rectangle like in the picture below.\nSo I think that I need to modify somehow the drawing the the rectangle but I don't know where to start.\nDo you have any suggestion?\nRegards,

\n

alt text

asked 01 Nov '11, 06:13

vragon's gravatar image

vragon
53
accept rate: 0%


mxDoubleEllipseShape is an example of a custom shape. It is registered in the mxGraphics2DCanvas on line 93.

link

answered 01 Nov '11, 08:14

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

thank you, I will check it

(02 Nov '11, 05:16) vragon
    \n
  • is there a way to definition a new shape( ex: I create a new class call mxDoubleRectangleShape in my program) instead of put it in the JGraphX library?
  • \n
link

answered 02 Nov '11, 13:59

vragon's gravatar image

vragon
53
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×194
×17

Asked: 01 Nov '11, 06:13

Seen: 1,493 times

Last updated: 02 Nov '11, 22:26