Uploaded image for project: 'TinkerPop'
  1. TinkerPop
  2. TINKERPOP-1816

Consider improvements to the .NET documentation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.2.6
    • None
    • documentation
    • None

    Description

      Without at least one complete code sample, you are wasting potential users; time.

      How do you run a query/traversal ?

      By "stumbling around in the dark" I was able to get this far:

      private Graph graph = new Graph();
      private GraphTraversalSource g;

      // in method body
      g = graph.Traversal().WithRemote(new DriverRemoteConnection(new GremlinClient(new GremlinServer("localhost", 8182))));

      Vertex v1 = new Vertex("Bill");
      g.AddV(v1);

      Vertex v2 = new Vertex("Julie");
      g.AddV(v2);

      Edge e1 = new Edge("e1", v1, "Knows", v2);
      g.AddE(e1);

      VertexProperty p1 = new VertexProperty("p1","BillProp", "TestProp", v1);

      Attachments

        Activity

          People

            Unassigned Unassigned
            BWoo Bill Woo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: