Hello,

(I'm working with the Javascript version)

I am implementing grouping and folding in my software. Once more, mxGraph does most of the work for me :)

My cell is as well a "group" : it contains children cells. When expanded (not folded), the children cells are shown on the "main" graph. I would like to have the equivalent in css of "overflow:hidden" when my group cell is expanded (and resizable) : it shows only the children cells in the area of the parent cell, and not outside.

How would you handle that ?

I am trying to "intercept" the creation / rendering of the children cells in a group? Is there a way to render the "child graph" differently? Setting its bounds to the size of the parent cell.

(I am happy that the children cell are hidden when the cell is folded)

Thanks for your idea and help.

Colin

asked 08 Feb '13, 06:18

coclav's gravatar image

coclav
1616
accept rate: 50%


This is currently not possible.

link

answered 08 Feb '13, 08:08

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

What would be your approach at implementing it ?

(08 Feb '13, 09:55) coclav
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:

×66
×8
×6
×5

Asked: 08 Feb '13, 06:18

Seen: 1,383 times

Last updated: 08 Feb '13, 09:55