The Graphs view now supports custom node shapes:


Shape
 
optional attributes
Example
XML
Rectangle
cornerRadius
image
 
<NodeStyle name="Rectangle">
  <Shape> 
    <Rectangle cornerRadius="30"/>
  </Shape>
</NodeStyle>  

Ellipse
 
image
 
<NodeStyle name="Ellipse">
  <Shape>
    <Ellipse/>
  </Shape>
<NodeStyle> 

Parallelogram
 
image
 
<NodeStyle name="Parallelogram">
  <Shape>
    <Parallelogram/>
  </Shape>
</NodeStyle>

Actor

 lineColor
image

<NodeStyle name="Actor">
  <Shape>
    <Actor lineColor="#82d0ff"/>
  </Shape>
</NodeStyle>
Chevron

 
image

<NodeStyle name="Chevron">
  <Shape> 
    <Chevron/>
  </Shape>
</NodeStyle>  

Circle
diameter
image

<NodeStyle name="Circle">
  <Shape> 
    <Circle diameter="140"/>
  </Shape>
</NodeStyle>
OrGate
 
image

<NodeStyle name="OrGate">
  <Shape> 
    <OrGate/>
  </Shape>
</NodeStyle> 
AndGate
 
image

<NodeStyle name="AndGate">
  <Shape> 
    <AndGate/>
  </Shape>
</NodeStyle> 
Triangle
width
image

<NodeStyle name="Triangle" >
      <Shape> 
          <Triangle width="70"/>
      </Shape>
 </NodeStyle>
RectangularPentagon
 
image

<NodeStyle name="RectangularPentagon">
       <Shape> 
            <RectangularPentagon />
       </Shape>
</NodeStyle>

  


Note: It has been assumed that those shapes that do not support any size specification are always meant to be displayed in a fixed size. 


Example:


<Graph>
  <Options>
    <ObjIcons/>
  </Options>
  <NodeStyles>
    <NodeStyle name="Strategy" shapeType="parallelogram" fillColor="#7acfff" fillColor2="#ffffff" borderThickness="1" borderColor="#000000">
      <Shape>
        <Parallelogram/>
      </Shape>
    </NodeStyle> 
  </NodeStyles>
  
  <Node style="Strategy"/>
</Graph> 


For further details on how to use shapes, refer to the Help manual:


Issue IDs: 11348, 11475, 11450, 11476, 11132