Image-Py / sknw

build net work from skeleton image (2D-3D)
BSD 3-Clause "New" or "Revised" License
222 stars 47 forks source link

Possible error in documentation #18

Closed petermr closed 2 years ago

petermr commented 2 years ago

The docs give:

graph detail:
graph.node[id]['pts'] : Numpy(x, n), coordinates of nodes points

graph.node[id]['o']: Numpy(n), centried of the node

graph.edge(id1, id2)['pts']: Numpy(x, n), sequence of the edge point

graph.edge(id1, id2)['weight']: float, length of this edge

Should these be graph.nodes and graph.edges?

also "centried" should be "centroid", I think.

Very useful library, thanks

yxdragon commented 2 years ago

thanks, fixed, and add some documentation for the new features.