diff options
Diffstat (limited to 'docs/repository-engine-objects.dot')
-rw-r--r-- | docs/repository-engine-objects.dot | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/docs/repository-engine-objects.dot b/docs/repository-engine-objects.dot index 54cbc7e4..62858e6b 100644 --- a/docs/repository-engine-objects.dot +++ b/docs/repository-engine-objects.dot @@ -1,20 +1,14 @@ // $URL$ // $Id$ - -// This is an attempt to capture -// http://subvert-rpki.hactrn.net/docs/prague-whiteboard-2007-03-22-23:15:01.jpg - -// {arrowhead,arrowtail} shapes to use for database object relationships: +// +// {arrowhead,arrowtail} shapes indicate database object relationships: // 1- none // m- crow +// // Color code: // Blue: visible in left-right protocol // Green: created on the fly -// Explanation for many-many mapping beween CA and child objects -// (courtesy of RobL): Each child is an entity; each CA can have -// multiple children, and each child can hold certs from multiple CAs. - digraph rpki_engine_objects { rotate=90; size="11,8.5"; splines=true; ratio=fill; node [ shape=record ]; @@ -43,9 +37,12 @@ digraph rpki_engine_objects { self -> parent; repo -> parent; - // Many-many mappings - edge [ color=green, arrowtail=crow, arrowhead=crow ]; - ca -> child; + // This is many-many because each child is an entity, each CA + // can have multiple children, and each child can hold certs + // from multiple CAs (thanks, RobL). + // + ca -> child [ color=green, arrowtail=crow, arrowhead=crow ]; + // One-many mappings edge [ color=green, arrowtail=none, arrowhead=crow ]; |