EdgeTaggedGraphQ

EdgeTaggedGraphQ[g]

yields True if the graph g has edges tagged and False otherwise.

Details

  • EdgeTaggedGraphQ is typically used to test whether a graph has an edge with a tag.

Examples

open allclose all

Basic Examples  (2)

Test whether a graph is tagged:

EdgeTaggedGraphQ gives False for inputs that are not tagged graphs:

Scope  (6)

EdgeTaggedGraphQ works with undirected graphs:

Directed graphs:

Multigraphs:

Mixed graphs:

EdgeTaggedGraphQ gives False for anything that is not a tagged graph:

EdgeTaggedGraphQ works with large graphs:

Properties & Relations  (5)

IndexEdgeTaggedGraph generates tagged graphs:

Use UndirectedEdge to construct undirected tagged graphs:

Use DirectedEdge to construct directed tagged graphs:

A tagged graph can have self-loops:

EdgeTags gives the list of tags of a graph:

Introduced in 2020
 (12.1)