Members
# _helpers
Helper Namespace
-----------------
A useful batch of function dealing with DOM operations and types.
Methods
# Edge(properties) → {object}
Edge structure.
A function returning an object guarded with default value.
Parameters:
Name | Type | Description |
---|---|---|
properties |
object
|
The edge properties. |
The guarded edge object.
object
# GMLParse(gml) → {Object}
Parses GML string.
Parameters:
Name | Type | Description |
---|---|---|
gml |
String
|
SyntaxError
Object
# GMLStringify(graph, optionsopt) → {String}
Stringifies GML object.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
graph |
Object
|
||
options |
Object
|
<optional> |
String
# Graph(xmlString) → {object}
Graph parser.
This structure parse a gexf string and return an object containing the
parsed graph.
Parameters:
Name | Type | Description |
---|---|---|
xmlString |
string
|
The xml string of the gexf file to parse. |
The parsed graph.
object
# Node(properties) → {object}
Node structure.
A function returning an object guarded with default value.
Parameters:
Name | Type | Description |
---|---|---|
properties |
object
|
The node properties. |
The guarded node object.
object