fix deg output in geographjsonoutput
This commit is contained in:
parent
713262f756
commit
03aa3c5a7d
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ void GeoGraphJsonOutput::print(const util::graph::Graph<N, E>& outG,
|
||||||
if (!n->pl().getGeom()) continue;
|
if (!n->pl().getGeom()) continue;
|
||||||
|
|
||||||
json::Dict props{{"id", toString(n)},
|
json::Dict props{{"id", toString(n)},
|
||||||
{"deg", toString(n->getInDeg() + n->getOutDeg())},
|
{"deg", toString(n->getDeg())},
|
||||||
{"deg_out", toString(n->getOutDeg())},
|
{"deg_out", toString(n->getOutDeg())},
|
||||||
{"deg_in", toString(n->getInDeg())}};
|
{"deg_in", toString(n->getInDeg())}};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue