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

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

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

Model
<...
  distance = xs:double
  modelName = edgeLabelModel.type
  modelPosition = edgeLabelPosition.type
  preferredPlacement = preferredPlacement.type
  ratio = xs:double>
Label.type
</...>


Attribute Summary
 xs:doubledistance
           The current label distance from the edge.  
 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.  

Attribute Detail

distance

The current label distance from the edge.

Type:
xs:double
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

Source
<xs:complexType name="EdgeLabel.type">
<xs:simpleContent>
<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:simpleContent>
</xs:complexType>


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