http://www.yworks.com/xml/graphml
complexType EdgeLabel.type

Super Types
{http://www.w3.org/2001/XMLSchema}anyType
|
+--{http://www.yworks.com/xml/graphml}Label.type (restriction)
|
+--{http://www.yworks.com/xml/graphml}EdgeLabel.type (extension)

Documentation
Complex type that describes the additional attributes of edge labels.
Properties
This component is not nillable.

Model
<...
  alignment = alignment.type
  backgroundColor = color.type
  configuration = xs:string
  distance = xs:double
  fontFamily = xs:string
  fontSize = xs:unsignedByte
  fontStyle = fontStyle.type
  hasBackgroundColor = xs:boolean
  hasLineColor = xs:boolean
  height = xs:double
  horizontalTextPosition = horizontalTextPosition.type
  icon = xs:anyURI
  iconData = xs:string
  iconTextGap = xs:byte
  image = xs:string
  lineColor = color.type
  modelName = edgeLabelModel.type
  modelPosition = edgeLabelPosition.type
  preferredPlacement = preferredPlacement.type
  ratio = xs:double
  rotationAngle = xs:double
  textColor = color.type
  underlinedText = xs:boolean
  verticalTextPosition = verticalTextPosition.type
  visible = xs:boolean
  width = xs:double
  x = xs:double
  y = xs:double>
(LabelModel, ModelParameter )
</...>


Nested Element Summary
 LabelModel
           The (optional) custom label model.  
 ModelParameter
           The (optional) custom label model parameter.  

Attribute Summary
 alignment.typealignment
           The alignment of the label.  
 color.typebackgroundColor
           The background color of the label's content rectangle.  
 xs:stringconfiguration
           The optional configuration of the label.  
 xs:doubledistance
           The current label distance from the edge.  
 xs:stringfontFamily
           The font family for the label text.  
 xs:unsignedBytefontSize
           The font size for the label text.  
 fontStyle.typefontStyle
           The font style for the label text.  
 xs:booleanhasBackgroundColor
           Whether the label background should be painted.  
 xs:booleanhasLineColor
           Whether the label border should be painted.  
 xs:doubleheight
           The height of the rectangle.  
 horizontalTextPosition.typehorizontalTextPosition
           The horizontal text position wrt to an optional icon.  
 xs:anyURIicon
           The URL of an icon for the label.  
 xs:stringiconData
           Reference to an embedded arbitrary serializable resource.  
 xs:byteiconTextGap
           The distance between the label text and an optional icon.  
 xs:stringimage
           Reference to an embedded image resource.  
 color.typelineColor
           The border color of the label's content rectangle.  
 edgeLabelModel.typemodelName
           The label model.  
 edgeLabelPosition.typemodelPosition
           The actual label position in the current label model.  
 preferredPlacement.typepreferredPlacement
           The preferred label position in the current label model.  
 xs:doubleratio
           The current label position along the edge, expressed as ratio from source to target.  
 xs:doublerotationAngle
           The rotation angle style for the label.  
 color.typetextColor
           The text color of the label.  
 xs:booleanunderlinedText
           Whether to underline the label text.  
 verticalTextPosition.typeverticalTextPosition
           The vertical text position wrt to an optional icon.  
 xs:booleanvisible
           Whether the label is visible or not.  
 xs:doublewidth
           The width of the rectangle.  
 xs:doublex
           The x coordinate of the rectangle.  
 xs:doubley
           The y coordinate of the rectangle.  

Attribute Detail

alignment

The alignment of the label.

Type:
alignment.type
Use:
optional
Form:
unqualified

backgroundColor

The background color of the label's content rectangle.

Type:
color.type
Use:
optional
Form:
unqualified

configuration

The optional configuration of the label.

Type:
xs:string
Use:
optional
Form:
unqualified

distance

The current label distance from the edge.

Type:
xs:double
Use:
optional
Form:
unqualified

fontFamily

The font family for the label text.

Type:
xs:string
Use:
optional
Form:
unqualified

fontSize

The font size for the label text.

Type:
xs:unsignedByte
Use:
optional
Form:
unqualified

fontStyle

The font style for the label text.

Type:
fontStyle.type
Use:
optional
Form:
unqualified

hasBackgroundColor

Whether the label background should be painted.

Type:
xs:boolean
Use:
optional
Form:
unqualified

hasLineColor

Whether the label border should be painted.

Type:
xs:boolean
Use:
optional
Form:
unqualified

height

The height of the rectangle.

Type:
xs:double
Use:
optional
Form:
unqualified

horizontalTextPosition

The horizontal text position wrt to an optional icon.

Type:
horizontalTextPosition.type
Use:
optional
Form:
unqualified

icon

The URL of an icon for the label.

Type:
xs:anyURI
Use:
optional
Form:
unqualified

iconData

Reference to an embedded arbitrary serializable resource.

Type:
xs:string
Use:
optional
Form:
unqualified

iconTextGap

The distance between the label text and an optional icon.

Type:
xs:byte
Use:
optional
Form:
unqualified

image

Reference to an embedded image resource.

Type:
xs:string
Use:
optional
Form:
unqualified

lineColor

The border color of the label's content rectangle.

Type:
color.type
Use:
optional
Form:
unqualified

modelName

The label model.

Type:
edgeLabelModel.type
Use:
optional
Form:
unqualified

modelPosition

The actual label position in the current label model.

Type:
edgeLabelPosition.type
Use:
optional
Form:
unqualified

preferredPlacement

The preferred label position in the current label model.

Type:
preferredPlacement.type
Use:
optional
Form:
unqualified

ratio

The current label position along the edge, expressed as ratio from source to target.

Type:
xs:double
Use:
optional
Form:
unqualified

rotationAngle

The rotation angle style for the label.

Type:
xs:double
Use:
optional
Form:
unqualified

textColor

The text color of the label.

Type:
color.type
Use:
optional
Form:
unqualified

underlinedText

Whether to underline the label text.

Type:
xs:boolean
Use:
optional
Form:
unqualified

verticalTextPosition

The vertical text position wrt to an optional icon.

Type:
verticalTextPosition.type
Use:
optional
Form:
unqualified

visible

Whether the label is visible or not.

Type:
xs:boolean
Use:
optional
Form:
unqualified

width

The width of the rectangle.

Type:
xs:double
Use:
optional
Form:
unqualified

x

The x coordinate of the rectangle.

Type:
xs:double
Use:
optional
Form:
unqualified

y

The y coordinate of the rectangle.

Type:
xs:double
Use:
optional
Form:
unqualified

Source
<xs:complexType name="EdgeLabel.type">
<xs:complexContent>
<xs:extension base="Label.type">
<xs:attribute name="modelName" type="edgeLabelModel.type" use="optional">
</xs:attribute>
<xs:attribute name="modelPosition" type="edgeLabelPosition.type" use="optional">
</xs:attribute>
<xs:attribute name="preferredPlacement" type="preferredPlacement.type" use="optional">
</xs:attribute>
<xs:attribute name="distance" type="xs:double" use="optional">
</xs:attribute>
<xs:attribute name="ratio" type="xs:double" use="optional">
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>


© Copyright 2000-2009, yWorks GmbH. All rights reserved.