nwrename

Rename a network

Syntax

Rename single network
nwrename old_netname new_netname
Rename multiple networks
nwrename (old1 old2 ...) (new1 new2 ...)

Description

nwrename changes the name of an existing network old_netname to new_netname; the content of the network remains unchanged.

Examples

  • . nwwebuse florentine, nwclear

  • (2 networks)
  • hline 20
  • flobusiness
  • flomarriage

  • . nwds
  • flobusinessflomarriage

  • . nwrename flobusiness business
  • . nwrename flomarriage marriage

  • . nwds
  • businessmarriage

Supported network types

Binary: yes. Directed: yes. Weighted: yes. Signed: yes - renames the network object only; its content, including directed/valued/two-mode status, is completely unchanged.

See also

  • nwname, rename

  • last certified : 24 Aug 2026


Back to top

nwcommands is free to install and use, including for commercial research. See the GitHub repository for source, license, and issue tracking.

This site uses Just the Docs, a documentation theme for Jekyll.