Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Benoit Barbot
GraphEditor
Commits
b0cb3af5
Commit
b0cb3af5
authored
Oct 15, 2020
by
Benoit Barbot
Browse files
fix
parent
174f67ef
Pipeline
#1747
failed with stage
in 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
TikzEditor/MarkovChain.ml
View file @
b0cb3af5
...
...
@@ -78,6 +78,10 @@
let
get_new_arc_attr
atlist
_
=
[]
let
get_new_def_attr
_
=
[]
let
update_def_attr
_
_
_
=
None
let
get_def_attr
_
=
""
,
[]
let
string_of_attribute
=
function
|
`Prob
arc
->
string_of_float
arc
|
`StringExpr
s
->
s
...
...
TikzEditor/TikzGraph.ml
View file @
b0cb3af5
...
...
@@ -192,6 +192,10 @@ let get_new_arc_attr atlist (p1,p2) =
(
"Node"
,
fun
(
at
,
cp
)
->
(
at
,
cp
@
[
`Text
(
0
.
5
,
"node"
)])
,
C
(
List
.
length
cp
)
)
]
let
get_new_def_attr
_
=
[]
let
update_def_attr
_
_
_
=
None
let
get_def_attr
_
=
""
,
[]
let
print_single_attr
f
a
=
let
open
DrawingGeom
.
Color
in
match
is_prefix
a
"fill="
with
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment