The GraphRoundtripSupport type exposes the following members.

Constructors

  NameDescription
Public methodGraphRoundtripSupport
Initializes a new instance of the GraphRoundtripSupport class

Methods

  NameDescription
Public methodAddMapper<(Of <<'(K, V>)>>)(Object, String)
Adds integrated support for the roundtripping of data associated with graph elements.
Public methodAddMapper<(Of <<'(K, V>)>>)(Object, String, KeyScope, KeyType)
Adds integrated support for the roundtripping of data associated with graph elements. Calling this method after the creation of this instance will prepare the io mechanism to read and write the associated data from the requests and to the responses. Also the corresponding IMapper will be automatically registered with the graph's IMapperRegistry using the provided key on the graph instances created by CreateRoundtripGraph()()()()
Public methodAddObjectMapper<(Of <<'(K, V>)>>)
Add a graph item attribute of complex type that will be read and written using the provided serializer and deserializer instances.
Protected methodconfigureFoldingManager
Configures the folding manager, if folding is enabled.
Protected methodConfigureHandler
Configures the provided handler. This method is called by CreateHandler()()()() after the creation of the handler instance.
Protected methodCreateHandler
Creates the handler that will be used for the IO.
Public methodCreateRoundtripGraph
Creates the graph that should be used for roundtripping. This method registers various IMapper instances with the graph's mapper registry using the key constants provided by this class. Also, the mappers that were added using AddMapper<(Of <<'(K, V>)>>)(Object, String, KeyScope, KeyType) are registered with the mapper registry.
Public methodCreateXmlWriter
Create An IXmlWriter instance that can be used for sending xml formatted responses to the client.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodReadGraph(Stream, IGraph)
Reads the graph from the given stream using a handler created by CreateHandler()()()()
Public methodReadGraph(StringReader, IGraph)
Reads the graph from the given reader using a handler created by CreateHandler()()()()
Public methodReadGraph(HttpRequest, IGraph)
If the request contains the ParamGraph parameter, the parameter value is used for updating the graph instance currently stored in the session.
Public methodSendError(Exception, HttpContext)
Send an error to the client.
Public methodSendError(String, HttpContext)
Send an error to the client.
Public methodSendGraph(IGraph, Stream)
Writes the given graph to the stream in GraphML format. This method will not close the stream.
Public methodSendGraph(IGraph, HttpResponse)
Send the current graph to the client in GraphML format. This method will close the response stream.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  NameDescription
Public fieldStatic memberEdge2IdMapperKey
Key for storing the current edge id mapper in the graph.
Public fieldStatic memberNode2IdMapperKey
Key for storing the current node id mapper in the graph.
Public fieldStatic memberNodeInsetsMapperKey
Key for storing the group node insets mapper in the graph.
Public fieldStatic memberParamGraph
Parameter name of the request parameter that contains graphml sent by the client.
Public fieldStatic memberTableMapperKey
The [!:IMapper] key that is used to bind tables to nodes used on a yFiles FLEX client.

Properties

  NameDescription
Public propertyAdjustFontSize
Whether to adjust the font size for a Flex client.
Public propertyAutoReadMapperData
Whether mapper attributes contained in the GraphML data should be automatically deserialized.
Public propertyAutoWriteMapperData
Whether mapper attributes registered with the graph's mapper registry should be automatically serialized.
Public propertyFoldedGraph
Whether the graph factory method should create a graph instance that supports folding.
Public propertyFontSizeFactor
The factor to adjust the fond size with.
Public propertyGroupedGraph
Whether the graph factory method should create a graph instance that supports grouping.
Public propertyLocalViewMode
If folding is enabled, this property determines whether only the current expanded/collapsed state is sent to the client, instead of the complete model.

Field Value

Default value is falseFalsefalsefalse (False in Visual Basic)
Public propertyReadNodeInsets
Whether to read node insets stored in the "nodeinsets" attribute.
Public propertySupportAutoSerialization
Whether to support auto serialization using XamlDeserializer and AttributeBasedSerializer
Public propertySupportTables
Whether to support tables.
Public propertySupportUserTags
Whether to support user tags.
Public propertyUseSolidColorStroke
Whether to serialize Pens as mx.graphics.SolidColorStroke for a Flex client.
Public propertyWriteSharedReferences

See Also