Gviz constructor
Gviz({})
Implementation
Gviz(
{String? name,
Map<String, String>? nodeProperties,
Map<String, String>? edgeProperties,
Map<String, String>? graphProperties})
: _name = name ?? 'the_graph',
_edgeProperties = edgeProperties ?? const {},
_nodeProperties = nodeProperties ?? const {},
_graphProperties = graphProperties ?? const {} {
if (!_validName.hasMatch(_name)) {
throw ArgumentError.value(name, 'name', '`name` must be a simple name.');
}
}