// [rulers_England.dot

// [FORM_GENERAL.dot]
//        In A I  originally used the trick: 
// node [ penwidth = .1]   and  node [ style=filled,FILLCOLOR= "#  ..  "]
//  I have now "discovered" that it is better  to use:
//     [ style=filled, COLOR= "#  ..  "] ,
//  BUT still need [penwidth = .01] because otherwise the circles with two 
//      colours will have a perimeter of the first colour listed


// NAME OF DIAGRAPH DOES NOT HAVE TO BE SAME AS FILE; IT IS THE FILE THAT ONE DOTS
//                             no dashes
digraph FORM_ANCESTORS   {

//                       PAGE SIZE
//1st is max width, second max height
size ="7.5, 11.

// MAY NOT WANT
// splines =line // this is a GRAPH attribute

//  this leaves a margin (of 1.5 in?)
pad = 1.5//no dashes in namemaster_graph_01.dot

compound = true  //  use with clusters SEE SHEET
//  form
//  a->e  [ltail = cluster_A, lhead = cluster_B]  // STAYS OUTSIDE CLUSTER BOX
//  a->e  [ltail = cluster_A]  // THIS WILL GO INSIDED CLUSTER BOX TO E  

//bgcolor="#D9D9D9"

//  DEFAULTS FOR THE NODES AND EDGES BETWEEN NODES
//  THESE DEFINE NODES & EDGES UNTIL OVERIDE 

//  DEFAULTS FOR THE NODES AND EDGES BETWEEN NODES
//  THESE DEFINE NODES & EDGES UNTIL OVERIDE 

node [penwidth = 2]  // AVOID PERIMETERS ON MIXED COLOURS
                                                          // the background was greyish
node [ shape=box, style = "filled", fillcolor ="#FFFFFF", fontname="linux libertine bold",  fontsize=19]

           //arrowsize???, arrowtail?=none,  arrow=none, both
edge  [arrowhead=normal, arrowsize = 1.2  penwidth = 3]  //

//                             SEPARATION
//   nodesep = 1.0
//	`ranksep=   1.5   // too small 0.25    between rows , apparently can not switch
// weight  = integer > 1 shortens,  does not seem to affect

  //       %%%%%%%%%%%%%   FORMS %%%%%%%%%%%%%%%%%%
//       %%%%%%%%%%%%%   GENERATION    XX %%%%%%%%%%%%%%%%%%
 // circle for marriage
//generation_** [shape = circle, fixedsize =true,   height = 1.5, label = "++", 
//                                style=filled,color="++; .5 : &&; .5"] 

//{rank=same;  ++,  ++}

//   generation_++ -> generation_@@  [color = "&&"] 
 
 ranksep=   0.25
   
// did not see a command or example for this
TITLE  [label = "Rulers of England", shape ="plaintext", fontname="linux libertine bold",  fontsize=26]
DATES [label = "Dates indicate when ruled", shape ="plaintext", fontname="linux libertine bold",  fontsize=18]
LEGEND [label ="arrows indicate succession, dashes indicate parent-child relationship\n the dotted line indicates the decendance from James I to George I", shape ="plaintext", fontname="linux libertine bold",  fontsize=15]
TITLE-> DATES  [ style = "invis"]
DATES -> LEGEND  [ style = "invis"]
      
// Henry VIII
Henry_VIII [label=  "Henry VIII\n 1509--1547"]
 LEGEND -> Henry_VIII   [ style = "invis"]
 
 Edward_VI [label=  "Edward VI\n son  Henry VIII\n  \1547--1553"]
 Henry_VIII   -> Edward_VI    [style = "solid" ]
 
 Mary_I  [label=  "Mary I\n  daughter  Henry VIII\n 1553-1558\nCatholic"]
  Edward_VI -> Mary_I  [style = "solid"]
 Henry_VIII   -> Mary_I   [style = "dashed", arrowhead=none]
   
 Elizabeth_I  [label=  "Elizabeth  I\n  daughter  Henry VIII\n 1558-1603"]
  Mary_I ->  Elizabeth_I [style = "solid"]
 Henry_VIII   -> Elizabeth_I   [style = "dashed", arrowhead=none]
 
James_I [label=  "James I\n  [James VI of Scotland, 1567--1625]\n 1603--1625"]
 Elizabeth_I -> James_I [style = "solid"]  

Charles_I [label=  "Charles I\n 1625--1649\n executed"]
 James_I -> Charles_I [style = "solid"]  

 Commonwealth  [label = "Commonwealth\n 1649--1659\n Oliver Cromwell 1653--1658\n Richard Cromwell, 1658--1659"]
 Charles_I->Commonwealth [style = "solid"]  
 //    [ style = "invis"]

Charles_II [label=  "Charles II\n 1660--1685"]
 Commonwealth   -> Charles_II [style = "solid"]  

 James_II [label=  "James II\n 1685--1688\n Catholic, deposed"]
 Charles_II -> James_II [style = "solid"]  
 
 Mary_William [label = "Mary II (1689--1894)\n Protestant\n William of Orange {1689--1702)"]
 James_II -> Mary_William [style = "solid"]  
     
 Anne [label ="Anne\n 1702-1714\n Protestant"]
 Mary_William-> Anne [style = "solid"]   
James_II -> Anne [style = "dashed", arrowhead=none] 

George_I [label = "George I (Hanover)\n 1714--1727"]
Anne -> George_I [style = "solid"] 
James_I -> George_I [style = "dotted", penwidth = 6, arrowhead=none] 
  

   }  // end     //no dashes in name
  




  


