MCPcopy Create free account
hub / github.com/Kitware/CMake / WriteNode

Method WriteNode

Source/cmGraphVizWriter.cxx:446–457  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444}
445
446void cmGraphVizWriter::WriteNode(cmGeneratedFileStream& fs,
447 cmLinkItem const& item)
448{
449 auto const& itemName = item.AsStr();
450 auto const& nodeName = this->NodeNames[itemName];
451
452 auto const itemNameWithAliases = this->ItemNameWithAliases(itemName);
453 auto const escapedLabel = EscapeForDotFile(itemNameWithAliases);
454
455 fs << " \"" << nodeName << "\" [ label = \"" << escapedLabel
456 << "\", shape = " << getShapeForTarget(item) << " ];\n";
457}
458
459void cmGraphVizWriter::WriteConnection(cmGeneratedFileStream& fs,
460 cmLinkItem const& depender,

Callers 3

OnItemMethod · 0.95
CreateTargetFileMethod · 0.95

Calls 2

ItemNameWithAliasesMethod · 0.95
getShapeForTargetFunction · 0.85

Tested by

no test coverage detected