dextool.plugin.graphml.backend.xml

Members

Aliases

StreamChar
alias StreamChar = void delegate(const(char)[]) @(safe)

Stream to put attribute data into for complex member methods that handle the serialization themself.

Enums

ColorKind
enum ColorKind
Undocumented in source.
EdgeKind
enum EdgeKind
Undocumented in source.
IdT
enum IdT
Undocumented in source.
NodeAttribute
enum NodeAttribute
Undocumented in source.
NodeExtra
enum NodeExtra
Undocumented in source.
NodeId
enum NodeId
Undocumented in source.
StereoType
enum StereoType
Undocumented in source.

Functions

attrToXml
void attrToXml(T bundle, Writer recv)

Serialize a struct into the writer.

ccdataWrap
void ccdataWrap(Writer w, ARGS args)
Undocumented in source. Be warned that the author may not have intended to support it.
makeShapeNode
auto makeShapeNode(string label, ColorKind color)
Undocumented in source. Be warned that the author may not have intended to support it.
makeUMLClassNode
auto makeUMLClassNode(string label)
Undocumented in source. Be warned that the author may not have intended to support it.
nextGraphId
ulong nextGraphId()
Undocumented in source. Be warned that the author may not have intended to support it.
nodeToXml
void nodeToXml(T bundle, Writer recv)
Undocumented in source. Be warned that the author may not have intended to support it.
xmlComment
void xmlComment(RecvT recv, CharT v)
Undocumented in source. Be warned that the author may not have intended to support it.
xmlEdge
void xmlEdge(RecvT recv, SourceT src, TargetT target, EdgeKind kind)
Undocumented in source. Be warned that the author may not have intended to support it.
xmlFooter
void xmlFooter(RecvT recv)

Write the xml footer as required by GraphML.

xmlHeader
void xmlHeader(RecvT recv)

Write the XML header for graphml with needed key definitions.

Structs

Attr
struct Attr
Undocumented in source.
FolderNode
struct FolderNode

Render a FolderNode.

NodeStyle
struct NodeStyle(PayloadT)

Node style in GraphML.

ShapeNode
struct ShapeNode
Undocumented in source.
UMLClassNode
struct UMLClassNode
Undocumented in source.
ValidNodeId
struct ValidNodeId
Undocumented in source.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

XML utility for generating GraphML content. Contains data structures and serializers.