////////////////////////////////////////////////////////////////////////////////
//  StyleSheet

StyleSheet {
  functionList : "ilog.diagram.renderer.IlxCSSExpressions$ForEach,ilog.rules.ui.diagram.IlrComputePackageName";
}

////////////////////////////////////////////////////////////////////////////////
//  SDM

SDM {
  Renderers : "DiagramRenderer=ilog.diagram.renderer.IlxDiagramSDMRenderer,LinkLayout=ilog.diagram.graphlayout.IlxDiagramSDMMixedLayout";
  DiagramRenderer : "true";
  LinkLayout : "true";
  LabelLayout : "true";
  Decoration : "false";
  GraphLayout : "Hierarchical";
  SubGraph : "false";
  SwimLanes : "false";
  metadataEnabled : "false";
  Interactor : "false";
}

DiagramRenderer {
  resizingEnabled : "true";
}

LinkLayout {
  enabled : "true";
  mixingMode : 1; // FORK_LAYOUT_MODE
  globalLinkStyle : "ORTHOGONAL_STYLE";
  addingLinkConnectors : "false";
  linkOffset : 15; // SHORT_LINKS
  hierarchical : "false";
  layoutMode : "LONG_LINKS"; // LONG_LINKS or SHORT_LINKS
  interGraphLinksMode : "true";
  combinedInterGraphLinksMode : "true";
  connectingLinksToShape : "true";
  horizontalGridOffset : 12; // LONG_LINKS
  verticalGridOffset : 12; // LONG_LINKS
  incrementalMode : false;
  forkLayout : @+ForkLayout;
}

#ForkLayout {
  class : ilog.diagram.graphlayout.IlxForkLayout;
  nodeWeight : 40;
  linkWeight : 20;
  centerWeight : 8;
  pinWeight : 2;
  nodeGlowing : 2;
  forkMaxLength : 4;
  forkWeight : 5;
  exhaustiveSearch : false;
  areaMarginFactor : 3;
}

LabelLayout {
  enabled : "false";
}

GraphLayout {
  enabled : "false";
  globalLinkStyle : "ORTHOGONAL_STYLE";
  flowDirection : "Top";
  intergraphConnectivityMode : "true";
  position : "30,30";
  connectingLinksToShape : "true";
  minEndSegmentLength : 30;
  horizontalNodeOffset : 80;
  verticalNodeOffset : 80;
  horizontalLinkOffset : 30;
  verticalLinkOffset : 30;
}

////////////////////////////////////////////////////////////////////////////////
//  node

node {
  Anchor : TopLeft;
  FrameGraphic : "default";
  FrameMargin : "10,25,10,10";
}

////////////////////////////////////////////////////////////////////////////////
//  link

link["local:layoutFixed"] {
  LayoutFixed : @local:layoutFixed;
}

////////////////////////////////////////////////////////////////////////////////
//  graphics
#plus {
  class : "ilog.views.sdm.graphic.IlvGraphicFactories$Icon";
  imageLocation : "../images/collapsed.png";
}

#minus {
  class : "ilog.views.sdm.graphic.IlvGraphicFactories$Icon";
  imageLocation : "../images/expanded.png";
}
