Questions tagged [nodes]

Nodes are the basic units used to build data structures such as linked lists and trees.

A node is a record consisting of one or more fields that are links to other nodes, and a data field. The link and data fields are often implemented by pointers or references although it is also quite common for the data to be embedded directly in the node.

Nodes are used to build linked data structures such as , , and . Large and complex data structures can be formed from groups of interlinked nodes. Nodes are conceptually similar to vertices, which are elements of a graph. Software is said to have a node graph architecture when its organization consists of interlinked nodes.

http://en.wikipedia.org/wiki/Node_(computer_science)

6243 questions
8
votes
1 answer

Web.config transformation: how to apply a transformation to all node matching a Locator expression?

I've recently discovered the web.config automatic transformation in the web deploy tool of visual studio 2010. It's working well, but I have a scenario I can't seem to get working. Assume I have the following root Web.config
Clement
  • 3,990
  • 4
  • 43
  • 44
8
votes
3 answers

Aggregating values on a data tree with R

I'm trying to tally up the hours from a data tree structure. I can add up the hours directly under parent node, but I can't include the hours assigned to the parent nodes in the tree. Any suggestions would be great. This is what I am…
Bridgbro
  • 269
  • 1
  • 3
  • 17
8
votes
1 answer

How to compare two DOMs or DOM nodes in general?

I am using var win1 = open.window(...); var win2 = open.window(...); to open 2 tabs/windows in Firefox - now I want to compare the two DOMs (document object models) for similarity. So I have got two DOMs containing a very similar page. The pages…
Claudio
  • 93
  • 1
  • 6
8
votes
1 answer

Stop nodes/vertices overlapping in igraph.plot

I have a table of nodes to be plotted in R and am using igraph.plot as it seems to be the best suited to my needs. Not all the nodes in my graph are connected, i.e. some part of the overall graph may just contain a pair of connected nodes. I need…
Eoin Marron
  • 81
  • 1
  • 2
8
votes
4 answers

Check if an element is closed using a discrete tag with JavaScript

I am getting the child nodes of en element and i want to check if the tags can actually contain text. For example:
, Should return false and ,
,
  • should return true. Thanks!
    Ood
    • 1,445
    • 4
    • 23
    • 43
    8
    votes
    2 answers

    contenteditable put caret outside inserted span

    http://jsfiddle.net/VzbYJ/86/ Please have a look at this link. As it clears that it is going to insert a span node at the caret place. Problem is,after inserting the node if I am pressing any character its color is also green. because it is also…
    DEV
    • 2,106
    • 3
    • 25
    • 40
    8
    votes
    1 answer

    Looping through XML using VBA

    I'm trying to loop through the following simple XML using VBA, with the ultimate goal to be able to easily extract the data in sequence. 1.1
    Jiminy Cricket
    • 1,377
    • 2
    • 15
    • 24
    8
    votes
    5 answers

    D3.js force directed graph, each group different color?

    I've made a force directed graph with d3.js plugin, and I wanna color the nodes and the labels with the different color according to group which they belong. I've added scale for color: var color = d3.scale.category20(); and to node variable I've…
    dzordz
    • 2,277
    • 13
    • 51
    • 74
    8
    votes
    1 answer

    Force graphviz to preserve node positions

    I have a graph that changes over time (normally, new nodes are added). I need to regenerate the graph several times, and want all of the nodes to stick where they have been. This partially works when using graphviz with the fdp-algorithm, setting…
    sudoremo
    • 2,274
    • 2
    • 22
    • 39
    8
    votes
    8 answers

    NPM module installation error

    I am getting Error: tunneling socket could not be established, cause=getaddrinfo ENOTFOUND while trying to install a module in node.js. It seems some proxy error.I checked in browser setting ,proxy is disabled. But when i am checking in command…
    Tarak
    • 1,142
    • 3
    • 12
    • 28
    8
    votes
    1 answer

    Use SQL Server to get all the data from XML nodes named the same

    I have an XML file where the nodes that I need the data from are all named the same. I understand how to access the first (or second record) so the following query only gives me the second author (the tag). How do I get all the authors as a…
    user918967
    • 2,049
    • 4
    • 28
    • 43
    7
    votes
    1 answer

    How do I move an element up/down one position in tree

    I cannot seem to find what should be a basic function of JavaScript. I want to move an element up one position or down one position by a button click. jQuery and other proprietary libraries are not an option. function moveDown() { if…
    Richard
    • 437
    • 4
    • 13
    7
    votes
    3 answers

    Wormhole Attack Implementation -Sensors

    I am trying to implement a wormhole attack detection program for network sensors. I have looked around the internet for source code on this, but have found none. Does anyone know where to find source code for Wormhole sensor Attacks (for simulation…
    TheChes44
    • 648
    • 1
    • 10
    • 21
    7
    votes
    1 answer

    How do I get Python XML to stop having wasted Child Nodes

    I have a simple XML document I'm trying to read in with Python DOM (see below): XML File:
    2 1 1
    Dasmowenator
    • 5,505
    • 5
    • 36
    • 50
    7
    votes
    1 answer

    Generating distinct groups of nodes in a network

    The Issue Given the following network of nodes and edges, I would like to derive all possible groupings of nodes where all nodes within a group are connected to all other nodes within that group via an edge. In this network... nodes 'B', 'C', and…
    Ben
    • 123
    • 6