"Fossies" - the Fresh Open Source Software Archive

Member "arangodb-3.4.7/Documentation/Examples/generalGraphModuleEccentricity3.generated" (24 Jun 2019, 906 Bytes) of package /linux/misc/arangodb-3.4.7.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "generalGraphModuleEccentricity3.generated": 3.3.21_vs_3.4.2-1.

    1 arangosh&gt; <span class="hljs-keyword">var</span> examples = <span class="hljs-built_in">require</span>(<span class="hljs-string">"@arangodb/graph-examples/example-graph.js"</span>);
    2 arangosh&gt; <span class="hljs-keyword">var</span> graph = examples.loadGraph(<span class="hljs-string">"routeplanner"</span>);
    3 arangosh&gt; graph._eccentricity({<span class="hljs-attr">weight</span> : <span class="hljs-string">'distance'</span>});
    4 { 
    5   <span class="hljs-string">"frenchCity/Lyon"</span> : <span class="hljs-number">1</span>, 
    6   <span class="hljs-string">"frenchCity/Paris"</span> : <span class="hljs-number">1</span>, 
    7   <span class="hljs-string">"germanCity/Cologne"</span> : <span class="hljs-number">1</span>, 
    8   <span class="hljs-string">"germanCity/Hamburg"</span> : <span class="hljs-number">1</span>, 
    9   <span class="hljs-string">"germanCity/Berlin"</span> : <span class="hljs-number">1</span> 
   10 }