EdgeShapeFunction

Source Notebook

The collection of named edge shape functions in the Wolfram Language

Details

The data is imported from and formatted for the Wolfram Language.
The default content is a list of all built-in collections.

(23 elements)

Examples

Basic Examples (2) 

In[1]:=
ResourceData[\!\(\*
TagBox["\"\<EdgeShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-EdgeShapeFunction-Input",
AutoDelete->True]\)]
Out[1]=

Draw edges using a box line shape function:

In[2]:=
CompleteGraph[3, EdgeShapeFunction -> ResourceData[\!\(\*
TagBox["\"\<EdgeShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-EdgeShapeFunction-Input",
AutoDelete->True]\)][[2]]]
Out[2]=

Scope & Additional Elements (4) 


List of supported collections:

In[3]:=
ResourceData[\!\(\*
TagBox["\"\<EdgeShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-EdgeShapeFunction-Input",
AutoDelete->True]\), "Collection"]
Out[3]=

Use built-in settings for in the "Arrow" collection:

In[4]:=
ResourceData[\!\(\*
TagBox["\"\<EdgeShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-EdgeShapeFunction-Input",
AutoDelete->True]\), "FilledArrow"]
Out[4]=
In[5]:=
Row[Table[
  Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 3 \[UndirectedEdge] 1}, EdgeShapeFunction -> {{vf, "ArrowSize" -> .15}}], {vf, ResourceData[\!\(\*
TagBox["\"\<EdgeShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-EdgeShapeFunction-Input",
AutoDelete->True]\), "FilledArrow"][[;; 4]]}], Spacer[2]]
Out[5]=

Use built-in settings for in the "UndirectedEdge" collection:

In[6]:=
ResourceData[\!\(\*
TagBox["\"\<EdgeShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-EdgeShapeFunction-Input",
AutoDelete->True]\), "CarvedArrow"]
Out[6]=
In[7]:=
Row[Table[
  Graph[{1 \[UndirectedEdge] 2, 2 \[UndirectedEdge] 3, 3 \[UndirectedEdge] 1}, EdgeShapeFunction -> {{vf, "ArrowSize" -> .15}}], {vf, ResourceData[\!\(\*
TagBox["\"\<EdgeShapeFunction\>\"",
#& ,
BoxID -> "ResourceTag-EdgeShapeFunction-Input",
AutoDelete->True]\), "CarvedArrow"][[;; 4]]}], Spacer[2]]
Out[7]=

Wolfram Research, "EdgeShapeFunction" from the Wolfram Data Repository (2022)  

Data Resource History

Source Metadata

Publisher Information