The GraphRoundtripSupport type exposes the following members.
Constructors
Name | Description | |
---|---|---|
GraphRoundtripSupport | Initializes a new instance of the GraphRoundtripSupport class |
Methods
Name | Description | |
---|---|---|
AddMapper<(Of <<'(K, V>)>>)(Object, String) |
Adds integrated support for the roundtripping of data associated with graph elements.
| |
AddMapper<(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()()()() | |
AddObjectMapper<(Of <<'(K, V>)>>) |
Add a graph item attribute of complex type that will be read and written using the provided
serializer and deserializer instances.
| |
configureFoldingManager |
Configures the folding manager, if folding is enabled.
| |
ConfigureHandler |
Configures the provided handler.
This method is called by CreateHandler()()()() after the creation of the handler instance.
| |
CreateHandler |
Creates the handler that will be used for the IO.
| |
CreateRoundtripGraph |
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.
| |
CreateXmlWriter |
Create An IXmlWriter instance that can be used for sending xml formatted responses to the client.
| |
Equals |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ReadGraph(Stream, IGraph) |
Reads the graph from the given stream using a handler created by CreateHandler()()()() | |
ReadGraph(StringReader, IGraph) |
Reads the graph from the given reader using a handler created by CreateHandler()()()() | |
ReadGraph(HttpRequest, IGraph) |
If the request contains the ParamGraph parameter, the parameter value is
used for updating the graph instance currently stored in the session.
| |
SendError(Exception, HttpContext) |
Send an error to the client.
| |
SendError(String, HttpContext) |
Send an error to the client.
| |
SendGraph(IGraph, Stream) |
Writes the given graph to the stream in GraphML format.
This method will not close the stream.
| |
SendGraph(IGraph, HttpResponse) |
Send the current graph to the client in GraphML format.
This method will close the response stream.
| |
ToString |
Returns a String that represents the current Object.
(Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
Edge2IdMapperKey |
Key for storing the current edge id mapper in the graph.
| |
Node2IdMapperKey |
Key for storing the current node id mapper in the graph.
| |
NodeInsetsMapperKey |
Key for storing the group node insets mapper in the graph.
| |
ParamGraph |
Parameter name of the request parameter that contains graphml sent by the client.
| |
TableMapperKey |
The [!:IMapper] key that is used to bind tables to nodes used on a
yFiles FLEX client.
|
Properties
Name | Description | |
---|---|---|
AdjustFontSize |
Whether to adjust the font size for a Flex client.
| |
AutoReadMapperData |
Whether mapper attributes contained in the GraphML data should be automatically
deserialized.
| |
AutoWriteMapperData |
Whether mapper attributes registered with the graph's mapper registry should
be automatically serialized.
| |
FoldedGraph |
Whether the graph factory method should create a graph instance that
supports folding.
| |
FontSizeFactor |
The factor to adjust the fond size with.
| |
GroupedGraph |
Whether the graph factory method should create a graph instance that
supports grouping.
| |
LocalViewMode |
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 ValueDefault value is falseFalsefalsefalse (False in Visual Basic) | |
ReadNodeInsets |
Whether to read node insets stored in the "nodeinsets" attribute.
| |
SupportAutoSerialization |
Whether to support auto serialization using XamlDeserializer
and AttributeBasedSerializer | |
SupportTables |
Whether to support tables.
| |
SupportUserTags |
Whether to support user tags.
| |
UseSolidColorStroke |
Whether to serialize Pens as mx.graphics.SolidColorStroke for a Flex client.
| |
WriteSharedReferences |