Graphviz: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
Line 6: Line 6:


subgraph cluster_common {
subgraph cluster_common {
   label="共用流程";
   label="共用流程2";
   A [label="收到下訂請求"];
   A [label="收到下訂請求"];
   B [label="檢查價格與庫存"];
   B [label="檢查價格與庫存"];

Revision as of 09:25, 25 January 2021

Beautify Edges

Order

GDS

Edge Attributes

label arrow other
  • URL labelURL headURL tailURL edgeURL
  • lp head_lp tail_lp xlp
  • headclip tailclip
  • href headhref tailhref edgehref labelhref
  • label headlabel taillabel xlabel
  • headport tailport
  • headtarget tailtarget edgetarget labeltarget
  • headtooltip tailtooltip edgetooltip labeltooltip
  • label_scheme
  • labelangle
  • labeldistance
  • labelfloat
  • labelfontcolor
  • labelfontname
  • labelfontsize

arrowhead arrowsize arrowtail color colorscheme comment constraint decorate dir fillcolor fontcolor fontname fontsize id len lhead ltail minlen nojustify penwidth pos samehead sametail showboxes target tooltip weight

Edge label

All kinds of labels

label xlabel headlabel taillabel

Difference between label and xlabel 1

Attribute label works not good as expected while using in subgraph.

label xlabel label in subgraph xlabel in subgraph

Difference between label and xlabel 2 (constraint=false)

  • The label is gone.
  • Space of xlabel is not enough.
label

xlabel

xlabel
with minlen=4

label
in subgraph

xlabel
in subgraph

xlabel
in subgraph
with minlen=4

Direction of subgraph

Position of xlabel