NNSOM.utils.get_edge_shape
- NNSOM.utils.get_edge_shape()[source]
Return the vertex offsets for drawing the elongated diamond between two neurons.
Used to render the edge between adjacent clusters in topology plots.
- Returns:
edgex (np.ndarray, shape (4,)) – X-offsets of the four diamond vertices.
edgey (np.ndarray, shape (4,)) – Y-offsets of the four diamond vertices.