xdot-0.2.3.1: Parse Graphviz xdot files and interactively view them using GTK and Cairo

Maintainerdennis@felsin9.de
Safe HaskellSafe-Inferred

Graphics.XDot.Types

Description

This module contains various types used to represent xdot parameters.

Synopsis

Documentation

type Point = (Double, Double)Source

A simple point, consisting of an x and y position.

type Rectangle = (Double, Double, Double, Double)Source

A rectangle, x and y position, width and height.

data Alignment Source

Alignment of text.

Instances

data Object n Source

An object an operation can belong to.

Constructors

None 
Node n 
Edge n n 

Instances

Eq n => Eq (Object n) 
Show n => Show (Object n) 

data Operation Source

Drawing operations supported by xdot. See http://www.graphviz.org/doc/info/output.html#d:xdot for more information

Constructors

Ellipse 

Fields

xy :: Point
 
w :: Double
 
h :: Double
 
filled :: Bool
 
Polygon 

Fields

points :: [Point]
 
filled :: Bool
 
Polyline 

Fields

points :: [Point]
 
BSpline 

Fields

points :: [Point]
 
filled :: Bool
 
Text 
Color 

Fields

rgba :: (Double, Double, Double, Double)
 
filled :: Bool
 
Font 

Fields

size :: Double
 
name :: String
 
Style 

Fields

style :: String
 
Image 

Fields

xy :: Point
 
w :: Double
 
h :: Double
 
name :: String
 

Instances