Skip to content

Copy doc strings into graphLib.pyx and amend #61

Description

@john-boyer-phd

Subject to the remediation in #60, the doc strings in graph.pyx and g6IterationUtils.pyx are useful for generating Python API documentation.

If those doc strings were copied to graphLib.pyx, they could be used as the basis creating C-layer public API documentation for EAPS.

The main changes would be

  1. Each method would need a first arg for theGraph (or occasionally, theEmbedding)
  2. Many methods would need a Returns component to indicate OK versus NOTOK. Methods that already return a value would need to have NOTOK added.
  3. The Raises components would have to be removed.

These are main changes, though there will be a few odd cases. For example, gp_DrawPlanar_RenderToString() would need to have its Args and Returns described differently than in Python due to returning OK/NOTOK and returning also a string as an output argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions