We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Some initial observations (bugs?) with swim lanes

Hi,

First off, it's great that you got this feature into the tool.  It's something we definitely needed.
I've started using it, and have the following observations (some of these may be bugs; others new requirements):

  • The header.Text and header.FontSize values are ignored; the header always says "HEADER" and the font size does not change
  • The lane Height and Width properties are ignored; the dropped shape appears to be roughly 450(W) X 170(H)
  • Clicking on a "node" shape in the palette causes it to be rendered on the canvas; doing so on a "lane" shape does not - you have to drag it
  • The palette symbol for nodes is adjusted to fit nicely based on the palette height/width; not sure what is happening with the lane palette shape
  • Cannot change the fill colour or gradient of a lane from the properties pane (or of the header)
  • Get an exception when trying to delete a swim lane form the Edit menu (see details below)

Here's my code behind that creates the lane palette symbol:

        Lane horLane = new Lane();
        horLane.Name = "Horizontal Lane";
        Header header = new Header();
        header.Text = "Fred";
        header.Width = 200;
        header.FillColor = "#C7D4DF";
        header.FontSize = 24;
        horLane.Header = header;
        horLane.FillColor = "#f5f5f5";
        horLane.Height = 70;
        horLane.Width = 600;
        horLane.OffsetX = 20;
        horLane.OffsetY = 20;
        horLane.IsLane = true;
        horLane.Orientation = "horizontal";

Here's the delete exception message:

       Unhandled exception at line 10, column 3914667 in http://vs2013-jimv2/NavviaNewDev/Syncfusion/Scripts/ej/ej.web.all.min.js

       0x800a138f - JavaScript runtime error: Unable to get property 'isGroup' of undefined or null reference

The exception is probably the biggest issue.

Jim





Attachment: Syncfusion__Swimlane_Palette_Shape_Issue_807c6048.zip

1 Reply

SG Shyam G Syncfusion Team November 12, 2014 11:55 AM UTC

Hi Jim

Thanks for using Syncfusion products.

 

Query

Response

  • The header.Text and header.FontSize values are ignored; the header always says "HEADER" and the font size does not change
  • The lane Height and Width properties are ignored; the dropped shape appears to be roughly 450(W) X 170(H)
  • Clicking on a "node" shape in the palette causes it to be rendered on the canvas; doing so on a "lane" shape does not - you have to drag it
  • The palette symbol for nodes is adjusted to fit nicely based on the palette height/width; not sure what is happening with the lane palette shape

 

We are able to reproduce the issue “issues in swimlane”, we have created incident 131915 for this reported issue. We suggest you to follow up the incident 131915 for further reference using your direct trac account.

 

  • Cannot change the fill color or gradient of a lane from the properties pane (or of the header)

 

Currently we don’t have option of selection handle for  swimlane in the diagram builder. We consider this as an issue “Need to provide selection handle for swimlane in the diagram builder”, we have created incident 131915 for this reported issue. We suggest you to follow up the incident 131915 for further reference using your direct trac account.

 

  • Get an exception when trying to delete a swim lane form the Edit menu (see details below)

We are glad to inform you that we have fixed the reported issue in “MenuBar.js” file of diagram builder sample. We suggest you to replace the “MenuBar.js” file in your diagram builder application.

 

Here is the MenuBar.js file

 

MenuBar.js

 

We have attached diagram builder sample below for your reference.

 

Sample

 

 

Please let me know if any concerns.

Regards,

Shyam G


Loader.
Up arrow icon