Difference between revisions of "Manual/Graph/Global Style"

From Knotter
< Manual‎ | Graph
Jump to navigation Jump to search
(Created page with "There are two sets of style features to affect the look of the knot: {{bl|Manual/Dialogs/Knot Display}} and {{bl|Manual/Dialogs/Knot Style}}. ==Knot Display== The style opti...")
 
Line 1: Line 1:
There are two sets of style features to affect the look of the knot: {{bl|Manual/Dialogs/Knot Display}} and {{bl|Manual/Dialogs/Knot Style}}.
+
There are two sets of style features to affect the look of the knot: ''Knot Display'' and ''Knot Style''.
 +
 
 +
<subpages/>
  
 
==Knot Display==
 
==Knot Display==
 
The style options in ''Knot Display'' affect the entire graph, and they affect how the graph is displayed but its shape is not altered.
 
The style options in ''Knot Display'' affect the entire graph, and they affect how the graph is displayed but its shape is not altered.
These features are those that can be changed on an exported SVG without changing the path control points.
+
These features are those that can be changed on an exported SVG without changing the path control points. These options can be selected on the [[Manual/Dialogs/Knot Display|Knot Display dialog]].
  
 
===Colors===
 
===Colors===
Line 30: Line 32:
  
 
==Knot Style==
 
==Knot Style==
The options in ''Knot Style'' instead affect the shape itself.
+
The options in ''Knot Style'' instead affect the shape itself, they can be customized on a subset of the graph.  
 
Their exact meaning depends on the edge type and cusp shape.
 
Their exact meaning depends on the edge type and cusp shape.
Every feature in ''Knot Style'' can be configured on a per-node basis via the {{bl|Manual/Dialogs/Selection Style}} dialog.
+
Every feature in ''Knot Style'' can be configured using the [[Manual/Dialogs/Knot Style|Knot Style dialog]] and on a per-node basis via the [[Manual/Dialogs/Selection Style|Selection Style dialog]].
  
 
[[File:Screenshot 0.8 shapes.png|thumbnail|Some Solomon's knots with different styles]]
 
[[File:Screenshot 0.8 shapes.png|thumbnail|Some Solomon's knots with different styles]]

Revision as of 19:32, 8 May 2013

There are two sets of style features to affect the look of the knot: Knot Display and Knot Style.

<subpages/>

Knot Display

The style options in Knot Display affect the entire graph, and they affect how the graph is displayed but its shape is not altered. These features are those that can be changed on an exported SVG without changing the path control points. These options can be selected on the Knot Display dialog.

Colors

Depending on the design there may be multiple ropes that make the knot, specifying multiple colors will cycle the defined colors when drawing each rope. If only a single color is defined, the entire knot will have that color. Knotter also supports automatic coloring that assigns a distinct color to each rope in the knot, this may be useful to study the topology of that knot.

Width

The width is the thickness of the rope tied in the knot.

Joint Style

If the knot style results in some sharp angles, this affects how they are displayed.

Knot Style

The options in Knot Style instead affect the shape itself, they can be customized on a subset of the graph. Their exact meaning depends on the edge type and cusp shape. Every feature in Knot Style can be configured using the Knot Style dialog and on a per-node basis via the Selection Style dialog.

Some Solomon's knots with different styles

Curve

Size of the curve control handles, its behaviour depends on the edge type. In general, it controls the way a ropes approaches the center of an edge and the cusp point.

Gap

Distance between the ends of a loop then a rope passes under another rope. It may change meaning for different edge types.

Angle

Minimum angle between edges for which a cusp shall be drawn.

Distance

Distance of the cusp point from the node position.

Style

The style used to draw a cusp.