# numnodes

## 语法

``N = numnodes(G)``

## 说明

``N = numnodes(G)` 返回图 `G` 中节点的数量。`

## 示例

`G = digraph(bucky)`
```G = digraph with properties: Edges: [180x2 table] Nodes: [60x0 table] ```
`N = numnodes(G)`
```N = 60 ```
{"ft_lang_label":"__label__zh","ft_lang_prob":0.8193006,"math_prob":0.99822897,"size":378,"snap":"2023-40-2023-50","text_gpt3_token_len":201,"char_repetition_ratio":0.09893048,"word_repetition_ratio":0.0,"special_character_ratio":0.27513227,"punctuation_ratio":0.04761905,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.99469167,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-11-29T21:30:04Z\",\"WARC-Record-ID\":\"<urn:uuid:1d659bd8-d4e5-479d-b737-d6d6453b441a>\",\"Content-Length\":\"79841\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:000dd3f7-2e05-4731-8a6c-44bb7de5b55f>\",\"WARC-Concurrent-To\":\"<urn:uuid:881187b0-fca6-46bb-9310-855b2dc0851c>\",\"WARC-IP-Address\":\"23.73.245.189\",\"WARC-Target-URI\":\"https://ww2.mathworks.cn/help/matlab/ref/graph.numnodes.html\",\"WARC-Payload-Digest\":\"sha1:B42ER22TYMQDWIBP5UIQABTOG6BOA24N\",\"WARC-Block-Digest\":\"sha1:IZ32DHIB5QL74W2A6YCCHTUNTF6BIE2R\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-50/CC-MAIN-2023-50_segments_1700679100146.5_warc_CC-MAIN-20231129204528-20231129234528-00598.warc.gz\"}"}