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

Copyright(c) Dennis Felsing
License3-Clause BSD-style
Maintainerdennis@felsin9.de
Safe HaskellSafe
LanguageHaskell2010

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.

data Object n Source #

An object an operation can belong to.

Constructors

None 
Node n 
Edge n n 

Instances

Eq n => Eq (Object n) Source # 

Methods

(==) :: Object n -> Object n -> Bool #

(/=) :: Object n -> Object n -> Bool #

Show n => Show (Object n) Source # 

Methods

showsPrec :: Int -> Object n -> ShowS #

show :: Object n -> String #

showList :: [Object n] -> ShowS #

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

Polygon 

Fields

Polyline 

Fields

BSpline 

Fields

FontCharacteristics 
Text 
Color 

Fields

Font 

Fields

Style 

Fields

Image 

Fields