@ -73,57 +73,7 @@
< script type = "text/javascript" src = "../js/toggleTable.js" > < / script >
< / head >
< body onload = "prettyPrint();" >
< div class = "navbar-wrapper" >
< div class = "container" >
< nav class = "navbar navbar-inverse navbar-static-top" role = "navigation" >
< div class = "container" >
< div class = "navbar-header" >
< button type = "button" class = "navbar-toggle collapsed" data-toggle = "collapse" data-target = "#navbar"
aria-expanded="false" aria-controls="navbar">
< span class = "sr-only" > Toggle navigation< / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< span class = "icon-bar" > < / span >
< / button >
< a class = "navbar-brand hidden-sm" href = "./index.html" > vis.js< / a >
< / div >
< div id = "navbar" class = "navbar-collapse collapse" >
< ul class = "nav navbar-nav" >
< li > < a href = "http://www.visjs.org/index.html#modules" > Modules< / a > < / li >
< li > < a href = "http://www.visjs.org/blog.html" > Blog< / a > < / li >
< li > < a href = "http://www.visjs.org/index.html#download_install" > Download< / a > < / li >
< li > < a href = "http://www.visjs.org/showcase/index.html" > Showcase< / a > < / li >
< li > < a href = "http://www.visjs.org/index.html#contribute" > Contribute< / a > < / li >
< li > < a href = "http://www.visjs.org/featureRequests.html" > Feature requests< / a > < / li >
< li > < a href = "http://www.visjs.org/index.html#licenses" > License< / a > < / li >
< / ul >
< form class = "navbar-form navbar-right" role = "search" >
< input name = "q" id = "tipue_search_input" autocomplete = "off" type = "text" class = "form-control" placeholder = "Enter keywords" >
< button type = "button" class = "btn btn-default" onclick = "vis.initSiteSearch(true);" > Go!< / button >
< / form >
< div id = "search-results-wrapper" class = "panel panel-default" >
< div class = "panel-body" >
< div id = "tipue_search_content" > < / div >
< / div >
< / div >
< div id = "keyword-info" class = "panel panel-success" >
< div class = "panel-body" >
Found < span id = "keyword-count" > < / span > results. Click < a id = "keyword-jumper-button" href = "" > here< / a > to jump to the first keyword occurence!
< / div >
< / div >
< / div >
< / div >
< / nav >
< / div >
< / div >
< a href = "https://github.com/almende/vis" class = "hidden-xs hidden-sm hidden-md" > < img
style="position: absolute; top: 0; right: 0; border: 0;"
src="https://camo.githubusercontent.com/38ef81f8aca64bb9a64448d0d70f1308ef5341ab/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f6461726b626c75655f3132313632312e706e67"
alt="Fork me on GitHub"
data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png">< / a >
<?js= self.partial('tmpl/navbar.tmpl') ?>
< div class = "container full" >
< h1 > Network< / h1 >
@ -602,51 +552,10 @@ var locales = {
The options object is described for < code > clusterByConnection< / code > and does the same here.
< / td >
< / tr >
< tr class = "collapsible toggle" onclick = "toggleTable('methodTable','clusterOutliers', this);" >
< td colspan = "2" > < span parent = "clusterOutliers" class = "right-caret" id = "method_clusterOutliers" > < / span > clusterOutliers(
< code > [Object options]< / code > )
< / tr >
< tr class = "hidden" parent = "clusterOutliers" >
< td class = "midMethods" > Returns: none< / td >
< td > This method will cluster all nodes with 1 edge with their respective connected node.
The options object is explained in full < a data-scroll = "" data-options = "{ "easing": "easeInCubic" }" href = "#optionsObject" > below< / a > .
< / td >
< / tr >
< ?js
var comment = self.getComment("Network#findNode");
?>
< tr class = "collapsible toggle" onclick = "toggleTable('methodTable','findNodeNew', this);" >
< td colspan = "2" > < span parent = "findNode" class = "right-caret" id = "method_findNodeNew" > < / span >
<?js= comment.prototype ?> < b > This comes from the source!< / b >
< / tr >
< tr class = "hidden" parent = "findNodeNew" >
< td class = "midMethods" > Returns: <?js= comment.returns ?> < / td >
< td >
<?js= comment.description ?>
< / td >
< / tr >
<?js= self.partial('tmpl/renderMethod.tmpl', "Network#clusterOutliers") ?>
<?js= self.partial('tmpl/renderMethod.tmpl', "Network#findNode") ?>
< tr class = "collapsible toggle" onclick = "toggleTable('methodTable','findNode', this);" >
< td colspan = "2" > < span parent = "findNode" class = "right-caret" id = "method_findNode" > < / span > findNode(
< code > String/Number nodeId< / code > )
< / tr >
< tr class = "hidden" parent = "findNode" >
< td class = "midMethods" > Returns: Array< / td >
< td > Nodes can be in clusters. Clusters can also be in clusters. This function returns and array of
nodeIds showing where the node is.
< br > < br >
If any nodeId in the chain, especially the first passed in as a parameter, is not present in
the current nodes list, an empty array is returned.
< br > < br > Example:
cluster 'A' contains cluster 'B',
cluster 'B' contains cluster 'C',
cluster 'C' contains node 'fred'.
< code > network.clustering.findNode('fred')< / code > will return < code > ['A','B','C','fred']< / code > .
< / td >
< / tr >
< tr class = "collapsible toggle" onclick = "toggleTable('methodTable','getClusteredEdges', this);" >
< td colspan = "2" > < span parent = "getClusteredEdges" class = "right-caret" id = "method_getClusteredEdges" > < / span > getClusteredEdges(
< code > String baseEdgeId< / code > )
@ -1696,18 +1605,4 @@ var network = new vis.Network(container, data, options);
< / div >
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
< script src = "../js/jquery.min.js" > < / script >
< script src = "../js/bootstrap.min.js" > < / script >
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
< script src = "../js/ie10-viewport-bug-workaround.js" > < / script >
<!-- jquery extensions -->
< script src = "../js/jquery.highlight.js" > < / script >
< script src = "../js/jquery.url.min.js" > < / script >
<!-- Tipue vendor js -->
< script src = "../js/tipuesearch.config.js" > < / script >
< script src = "../js/tipuesearch.js" > < / script >
<!-- controller -->
< script src = "../js/main.js" > < / script >
<?js= self.partial('tmpl/html-foot.tmpl') ?>