I am trying to read a graph from Graphviz DOT file by Boost graph library. how to read unknown number of properties which is stored in an array?
<pre><code>int const SIZE=10;
struct DotVertex {
    int Attribute[SIZE];
};

struct DotEdge {
    std::string label;
};

typedef boost::adjacency_list&lt;boost::vecS, boost::vecS, boost::directedS,
        DotVertex, DotEdge&gt; graph_t;

int main() {
    graph_t graphviz;
    boost::dynamic_properties dp(boost::ignore_other_properties);

    dp.property("node_id",     boost::get(&amp;DotVertex::name,        graph_t));
    dp.property("Attribute0", boost::get(&amp;DotVertex::Attribute[0],  graph_t));
    std::ifstream dot("graphnametest2.dot");
     boost::read_graphviz(dot,  graph_t, dp);
</code></pre>

<p>How to read unknown properties by an array attribute[SIZE] from a Graphviz DOT file or not even without know its size? For example, the following code is always wrong: 
dp.property("Attribute0", boost::get(&amp;DotVertex::Attribute[0],  graph_t))</p>