| Styling > Customizing Links > Customizing Link Bundles |
Customizing Link Bundles |
INDEX
PREVIOUS
NEXT
|
A link bundle has two graphic representations. The collapsed representation shows the bundle as a single link (overview link) connecting two end points. In this representation, all CSS properties described for links also apply to link bundles (see Link Representation).
When the link bundle is expanded, the overview link is replaced by the child links, which are then represented as a link set. In the expanded representation, the link bundle can be customized through the following property:
Property Name |
Type |
Default Value |
Description |
|---|---|---|---|
linkDistance | float | 2 |
Defines the distance between the links that are part of the link bundle. |
Please refer to the following sample to learn how to customize a link bundle representation in its collapsed and expanded forms:
<installdir>/samples/network/links/
where <installdir> is the directory where you have installed JViews TGO.
The following CSS extract customizes the width of all link bundles to be larger than the standard links. It also customizes the link bundle identified as linkBundle78 to display a distance of 5 pixels between its inner links:
object."ilog.tgo.model.IltLinkBundle" {
forcedWidth: 10;
}
#linkBundle78 {
linkDistance: 5;
}
You can also customize the visibility of the container icon that is automatically displayed and allows you to expand/collapse the link bundle. The following CSS properties allow you to do this customization:
| Copyright © 1987-2007 ILOG S.A. All rights reserved. Documentation homepage. All rights reserved. Legal terms. | PREVIOUS NEXT |