The interface used by the GraphMLIOHandler for writing data to the GraphML.
Inheritance Hierarchy
Type Details
- yfiles module
- view-component
- yfiles-umd modules
- All view modules
- Legacy UMD name
- yfiles.graphml.IOutputHandler
See Also
Properties
Gets the XML attributes that should be added to the data element.
Gets the XML attributes that should be added to the key definition in the GraphML key element.
Gets the write precedence that is associated with this instance.
Remarks
Registered output handlers are written either before or after the (optional) child content of the governing GraphML element.
See Also
Methods
Determines whether in the current context, the value is the default value and therefore no data element needs to be written.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IWriteContext
- The context.
Returns
- ↪boolean
true
if for the current context the default value applies and therefore no data element needs to be written.
Writes the contents of the key definition.
Remarks
At the time this method is called, the surrounding 'key' element has already been written. However no 'default' element is written by the framework.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IWriteContext
- The context.
Actually writes the value for the current context.
Remarks
At the time this method is called, the surrounding 'data' element has already been written.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- context - IWriteContext
- The context.