• Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

Comments (1)

1 techibm878 commented Permalink

The IlvLinkBundle is essentially a link whose drawing looks like multiple links. It has additional nice features, for instance you can collapse a bundle, then it looks like 1 link, or expand the bundle again, then it looks again like multiple links. Furthermore it allows hierarchical groupings: you can create an IlvLinkBundle containing 2 IlvLinkBundles of 2 links each. This is displayed on the right side (the blue lines are the links, the yellow margins indicate the grouping). The 642-524 disadvantage of IlvLinkBundle in IBM ILOG JViews 8.6, however, is that there is no ready-to-use interactor for selecting each individual link inside the bundle (not the entire bundle). Also, you cannot specify 642-642 IlvLinkBundle via CSS, while creating a link bundle in Java is fairly easy:

 
IlvLinkBundle linkBundle = new IlvLinkBundle(source, target, oriented, bendpoints);
linkBundle.setOffset(4);
IlvLinkImage overviewLink = ...
linkBundle.setOverviewLink(overviewLink);
IlvLinkBundleFrame frame = new IlvDefaultLinkBundleFrame();
frame.setMargin(6);
linkBundle.setFrame(frame);
for (i = 0; i < n; i++) {
linkBundle.addSublink(sublink[i]);
}
 
The overview link is drawn when the link bundle is collapsed. The links that are added as sublinks are drawn when the link bundle is expanded. In 642-892 this case, the optional link bundle frame is drawn around the sublinks. If you add bend points to the link bundle, then the individual bend points of the sublinks are calculated automatically in a way so that the link bundle always looks nice.
 
Summary
646-223
 
 
I have shown various possibilities how to deal with multilinks in JViews. For straight links, use the multilink bundle mode of IlvEnhancedLinkImage. For orthogonal links, use the corresponding options of the IlvShortLinkLayout. Alternatively, you can replace multilinks by IlvLinkBundle (this works for straight links as well as for orthogonal links), but currently this cannot be specified by CSS.

Add a Comment Add a Comment