21 #include <unordered_map>    23 #include "attributerange.h"    40     static Nodes fromCmd(
const QString& cmd, 
const AttributesScope& attrsScope,
    41                          const GraphType& graphType, QString& error,
    42                          std::function<
void(
int)> progress = [](
int){});
    46     static Nodes fromFile(
const QString& filePath, 
const AttributesScope& attrsScope,
    47                           const GraphType& graphType, QString& error,
    48                           std::function<
void(
int)> progress = [](
int){});
    52     static bool saveToFile(
const Nodes& nodes, QString filepath,
    53                            std::function<
void(
int)> progress = [](
int){});
    62     static QStringList validateHeader(
const QString& header,
    63             const AttributesScope& attrsScope, QString& error);
    65     static Node readRow(
const int row, 
const QStringList& header,
    66             const QStringList& values, 
const AttributesScope& attrsScope,
    67             const bool isDirected, QString& error);
 It wraps a std::shared_ptr<BaseNode>. 
Definition: node.h:35
A collection of utility functions for creating and saving nodes. 
Definition: nodes_p.h:32
A Node container. 
Definition: nodes.h:32
Definition: abstractgraph.h:29