AbsInt Logoai Logo

GDL: Edge Anchors and Edge Types

Prev. (Character Set) Next (Node Info) Index Sitemap home

slide

Special Edge Types

  • An edge of a special type is specified by

    edge type: { source: "title"  target: "title"  attributes }
    
  • Supported edge types

    backedge
    nearedge
    leftnearedge
    rightnearedge
    bentnearedge
    leftbentnearedge
    rightbentnearedge
    

slide

Anchor Points

  • An edge can be attached to an
    explicit line within a node by

    anchor: integer
    

example

Example


graph: {edge.arrowstyle: line

node: { title: "A"  label: "line1\nline2" }
node: { title: "t1" }
node: { title: "t2" }
node: { title: "t3" }
node: { title: "t4" }

edge:         { source: "A"  target: "t1"  anchor: 1 }
edge:         { source: "A"  target: "t2"  anchor: 2 }
edge:         { source: "t3" target: "A"  }
nearedge:     { source: "t2" target: "t3" }
bentnearedge: { source: "t2" target: "t4" }

       }

// click here for a real-life example

aiSee!!

Hints

  • Anchors are not compatible with near edges

  • Anchors only apply if the graph orientation is top to bottom


top Prev. (Character Set) Next (Node Info) Sitemap home


Please send any suggestions, comments or questions to webmaster@absint.com or use our feedback page.
Contents and Webdesign © Copyright 2000 & 2001 by AbsInt Angewandte Informatik GmbH.
This page was last modified on 11th of May 2001. This page URL is http://www.absint.com/aisee/gdl/guide/edges.htm