Uploaded image for project: 'S2Graph'
  1. S2Graph
  2. S2GRAPH-59

Accept array of from and to on Edge requests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: In Progress
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      There are some cases that user may want to insert/update/delete all adjacent edges from single from vertex.

      for example, current implementation require use to provide following json payload.

      [
        {"timestamp": 10, "from": 1, "to": 10, "label": "test", "props": {}},
        {"timestamp": 10, "from": 1, "to": 11, "label": "test", "props": {}}
      ]
      

      it would be helpful to provide below.

      [
        {"timestamp": 10, "from": 1, "tos": [10, 11], "label": "test", "props": {}}
      ]
      

      Of course there is limit on this. it can only be used when all fields are same except either `from` or `to`.

      Attachments

        Activity

          People

            steamshon Do Yung Yoon
            steamshon Do Yung Yoon
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 72h
                72h
                Remaining:
                Remaining Estimate - 72h
                72h
                Logged:
                Time Spent - Not Specified
                Not Specified