【发布时间】:2013-09-24 18:59:51
【问题描述】:
我正在尝试使用以下代码更改节点颜色,但出现分段错误。
我正在使用最新的 OGDF 快照。
Graph G;
GraphAttributes GA(G, GraphAttributes::nodeGraphics |
GraphAttributes::edgeGraphics );
node left = G.newNode();
GA.strokeColor (left) = Color("red");
【问题讨论】: