// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Network component additional customization
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Network {
  view: true;
  toolbar: true;
  interactor: true;
  zooming: true;
  backgrounds: false;
}

// Configure the view
View {
  keepingAspectRatio: true;
  maxZoomXFactor: 10;
  maxZoomYFactor: 10;
}

// Configure the toolbar to disallow moving of objects.
ToolBar {
  enabled: true;
  button[0]: @+SelectButton;
  button[1]: @+ZoomInButton;
  button[2]: @+ZoomOutButton;
  button[3]: @+ZoomViewButton;
  button[4]: @+ZoomResetButton;
  button[5]: @+FitToContentsButton;
  button[6]: @+PanButton;
}

#SelectButton {
  actionType: "Select";
  usingObjectInteractor: true;
  opaqueMove: true;
}

#ZoomInButton {
  actionType: "ZoomIn";
}

#ZoomOutButton {
  actionType: "ZoomOut";
}

#ZoomViewButton {
  actionType: "ZoomView";
  usingObjectInteractor: false;
}

#ZoomResetButton {
  actionType: "ZoomReset";
}

#FitToContentsButton {
  actionType: "FitToContents";
  margins: "5";
}

#PanButton {
  actionType: "Pan";
  usingObjectInteractor: false;
}

Interactor {
  name: "Select";
}

// Set the Mixed zoom policy.
Zooming {
  type: "Physical";
}

// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Customize subnetwork expansion mode
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
object."ilog.tgo.model.IltObject" {
  expansion: IN_PLACE;
}