-
Notifications
You must be signed in to change notification settings - Fork 242
Closed
Description
In the Python API PivotMDS and MaxEnt both take a dim parameter
networkit/networkit/_NetworKit.pyx
Line 12346 in 345f2b8
| def __cinit__(self, Graph G, count dim, count numberOfPivots): |
networkit/networkit/_NetworKit.pyx
Line 12241 in 345f2b8
| def __cinit__(self, Graph G, count dim, count k, vector[pair[double, double]] coordinates = [], double tolerance = 1e-5, _LinearSolverType linearSolverType = LAMG, bool_t fastComputation = False, _GraphDistance graphDistance = EDGE_WEIGHT): |
but, a pair is assumed in the constructor vector[pair[double, double]]
And, then here in getCoordinates a pair is assumed:
networkit/networkit/_NetworKit.pyx
Line 12147 in 345f2b8
| cdef pair[double, double] pr = pair[double, double](0, 0) |
And, anyway, I noticed that writeGraphToGML works in 3D, but if I instead wanted to include the point coordinates in the node data then save as GraphML, how would I do that?
Thanks.
Metadata
Metadata
Assignees
Labels
No labels