w = G[edge].edge_weight;
or similar.
And when using algorithms, I was able to figure out the property map parameters mainly be looking at what the examples did.
So using the above access pattern, how would one differentiate a subgraph with "pass-through" property access versus one with local properties?
Good question. I hadn't thought of that. Maybe something like:
w = G[global(edge)].edge_weight // or
w = G[local(edge)].edge_weight
I think I can hack something like that together.
As for default behavior... I'm leaning towards global properties, but I suppose I could control it with a preprocessor macro.
Andrew Sutton