logic: color scheme fixes (#821)

* fixed issues where color scheme entries were missing
* removed color scheme entries for nodes and edges that do not exist anymore
This commit is contained in:
Malte Langkabel
2019-12-03 14:46:11 +01:00
committed by GitHub
parent 136f3b5eff
commit 00bf7ebda6
10 changed files with 52 additions and 63 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ std::string ColorScheme::getNodeTypeColor(
{
disableWarnings();
std::string type = getValue<std::string>("graph/node/" + typeStr + "/like", typeStr);
const std::string type = getValue<std::string>("graph/node/" + typeStr + "/like", typeStr);
std::string color = getValue<std::string>(
"graph/node/" + type + "/" + key + "/" + stateToString(state), "");