MCPcopy Create free account
hub / github.com/CAIDA/walrus / write_attribute

Function write_attribute

contrib/asGraphGenerator.py:42–91  ·  view source on GitHub ↗

Writes an attribute in the correct format for the attribute data section. Args: file (File): The .graph file being generated for the graph. name (str): The name of the attribute. type (str): The type of the attribute. default (str): The default value of the attribute if not exp

(file, name, type, default, nodeValues, linkValues,
    pathValues, isLast)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 1

indentFunction · 0.85

Tested by

no test coverage detected