You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
from ogdf_python import ogdf
G = ogdf.Graph()
GA = ogdf.GraphAttributes(G, ogdf.GraphAttributes.all)
G.newNode()
ogdf.GraphIO.write(GA, "foo.gml", ogdf.GraphIO.writeGML)
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
Cell In [1], line 8
5 GA = ogdf.GraphAttributes(G, ogdf.GraphAttributes.all)
6 G.newNode()
----> 8 ogdf.GraphIO.write(GA, "foo.gml", ogdf.GraphIO.writeGML)
TypeError: static bool ogdf::GraphIO::write(const ogdf::GraphAttributes& GA, const std::string& filename, ogdf::GraphIO::AttrWriterFunc writer = nullptr) =>
TypeError: none of the 4 overloaded methods succeeded. Full details:
static bool ogdf::GraphIO::writeGML(const ogdf::ClusterGraph& C, std::ostream& os) =>
TypeError: could not convert argument 1
static bool ogdf::GraphIO::writeGML(const ogdf::ClusterGraphAttributes& A, std::ostream& os) =>
TypeError: could not convert argument 1
static bool ogdf::GraphIO::writeGML(const ogdf::Graph& G, std::ostream& os) =>
TypeError: could not convert argument 1
static bool ogdf::GraphIO::writeGML(const ogdf::GraphAttributes& A, std::ostream& os) =>
SegmentationViolation: segfault in C++; program state was reset
The text was updated successfully, but these errors were encountered:
The following code causes a segmentation fault:
The text was updated successfully, but these errors were encountered: