22 Commits

Author SHA1 Message Date
pancake
34ffd014f4 Better graphs, bringback t/f, add ^to seek to the begining and updated help 2017-12-30 00:50:25 +01:00
pancake
b49314a94b Add graph.edges, bringback the linemode=0 and add the graph+dis mode 2017-12-29 11:22:22 +01:00
Srimanta Barua
41ce16b314 added curved corners (#8660) 2017-10-08 13:09:27 +02:00
pancake
829009a339 Revert "fix leak in cons/canvas:set_attr by strdupping everything"
This reverts commit 00074b3a445973b1f2d0f83eb8ed96ef31f666b9.
2017-09-17 01:41:08 +02:00
Rakholiya Jenish
00074b3a44 fix leak in cons/canvas:set_attr by strdupping everything
fix formatting
2017-09-15 14:32:07 +08:00
Rakholiya Jenish
11e13f1c95 Fix node and edge overlapping issue in graph mode (#7948)
* initial work on fixing overlapping issues in graph mode

* better vertical gap calculation and minor fixes
* fix backedges overlapping issue
* fix backedge height and remove unnecessary functions
* horizontal graph
* add edge info for update graph size
graph size for horizontal layout
* fix leaks in agraph_print_edges
2017-09-12 15:41:30 +02:00
pancake
4bf5c94bf6 More optimizations for RConsCanvas 2017-02-13 01:31:43 +01:00
Álvaro Felipe Melchor
f8a5f88440 Fix #6564 - agf can be stopped 2017-01-28 13:33:01 +01:00
pancake
02950398a9 Add utf8 rune support for RCons.canvas 2016-10-21 01:24:40 +02:00
Riccardo Schirone
6df5031bf7 core/graph: quick fix for 1-level back-edges and self-referenced blocks 2015-10-18 15:52:34 +02:00
Riccardo Schirone
e54462343d core/graph: honor scr.color also for edges and current box 2015-10-14 00:10:17 +02:00
Riccardo Schirone
94f303ca36 core/graph: clean code + fixes
cons/canvas_line: split style in color and symbol

In this way you can choose to apply a color and/or a symbol (t/f/v) to a
line. This patch also changes core/graph to avoid t/f symbols in the
middle of long edges.

cons/canvas_line: fix "reversed" edge

core/graph: center current node when changing function
2015-07-27 12:29:18 +02:00
Riccardo Schirone
31dfeda157 core/graph: improve edges layout 2015-07-25 13:55:31 +02:00
pancake
df25085ffe Add custom color support for graphs and handle VVR and VVVq 2015-07-15 15:54:20 +02:00
Riccardo Schirone
757c2da65f cons/canvas_line: refactoring calls to draw_horizontal_line 2015-06-02 10:17:17 +02:00
Riccardo Schirone
2d74815b27 cons/canvas_line: remove special case x == x2 in canvas_line_square 2015-06-02 10:17:17 +02:00
Riccardo Schirone
5a8afbfd50 cons/canvas_line: extract draw_horizontal_line helper function
cons/canvas_line: extract draw_vertical_line helper function
2015-06-02 10:17:17 +02:00
Riccardo Schirone
e48a7b8dcd cons/canvas_line: use some spaces between operators 2015-06-02 10:17:17 +02:00
pancake
bb151c1607 Fix two out-of-canvas node location and missing box lines issues 2015-05-31 22:27:47 +02:00
jvoisin
7a1975bd06 Add some comments for graphs + coverifix 2015-02-17 17:03:16 +01:00
r0nk
87ae355a3a removed repetitive code. 2015-02-16 03:23:02 +01:00
pancake
40edd608d1 Bring back the old edge style in the aa graph. Fix self loops 2015-02-15 21:34:12 +01:00