Hi, when swimlanes are toggled, the content from that block gets resized everytime i.e the content inside the swimlane is grown everytime , and the positions are changed because the sub childs also gets collapsed when parent swimlane is collapsed. Secondly the edges are coming on top of labels. And also if we set cells unmovable, the positions of all vertices coming improper that is its been shifted to right side. I tried cells lock also, and it still does the same, all vertex positions are affecting. How to avoid this ?

Thanks in advance

asked 14 May '12, 08:57

hansie's gravatar image

hansie
51428
accept rate: 0%

edited 15 May '12, 02:41


To avoid the swimlane size from being changed when it's collapsed, try this:

mxGraph.prototype.swapBounds = function(cell, willCollapse)
{
  // do nothing
};
link

answered 15 May '12, 14:35

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

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:

×100
×25
×10
×3

Asked: 14 May '12, 08:57

Seen: 1,877 times

Last updated: 15 May '12, 14:35