diff --git a/src/storm-dft/storage/dft/DftJsonExporter.cpp b/src/storm-dft/storage/dft/DftJsonExporter.cpp index 89cb07287..bcafb35be 100644 --- a/src/storm-dft/storage/dft/DftJsonExporter.cpp +++ b/src/storm-dft/storage/dft/DftJsonExporter.cpp @@ -97,7 +97,9 @@ namespace storm { template modernjson::json DftJsonExporter::translateEdge(std::shared_ptr const> const& gate, DFTElementCPointer const& child, size_t index) { modernjson::json nodeData; - nodeData["id"] = currentId; + std::stringstream stream; + stream << gate->id() << "e" << child->id(); + nodeData["id"] = stream.str(); ++currentId; nodeData["source"] = gate->id(); nodeData["target"] = child->id();