Wolfram Language & System 10.4 (2016)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

EdgeShapeFunction

EdgeShapeFunction
is an option and property for Graph and related functions that specifies a function to use to generate primitives for rendering each edge.

DetailsDetails

  • The following option settings can be used:
  • Automaticthe default edge function
    Nonedo not render edges
    "name"a named edge function
    funca general edge function
    {vivj->efij,}use edge function for edge
  • The wrapper Property[vw,EdgeShapeFunction->f] can be used when creating graphs in functions such as Graph etc.
  • Use to get a list of all named edge functions.
  • EdgeShapeFunction->func specifies that each vertex should be rendered with the primitives provided by , where are line segments and is the edge.

ExamplesExamplesopen allclose all

Basic Examples  (4)Basic Examples  (4)

Draw edges using a predefined edge function:

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

Specify an edge function for an individual edge:

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

Combine with a different default edge function:

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

Use a Property wrapper to specify individual edge functions:

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

Draw edges by running a program:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Introduced in 2010
(8.0)