EdgeWeightedGraphQ

EdgeWeightedGraphQ[g]

yields True if the graph g is an edge-weighted graph and False otherwise.

Details

Examples

open all close all

Basic Examples  (2)

Test whether a graph is an edge-weighted graph:

In[1]:=
Click for copyable input
Out[1]=

Test matrix graphs:

In[1]:=
Click for copyable input
Out[1]=

Scope  (7)

Properties & Relations  (2)

Possible Issues  (1)

Introduced in 2019
(12.0)