All examples By author By category About

emeeks

Networks - Nodes 1

Nodes Example 1 for How to Create Effective Network Data Visualization

In comparison to the interesting things you could do with edges, there's not too much you can do with nodes. Here the circles from past examples are replaced by SVG:g elements that contain a circle and a text element to show the id of the node as a label.

The major shift in code is that for SVG:g you no longer adjust the x/y or cx/cy attributes, rather you adjust the translate() of the transform attribute.