Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
grew
libcaml-grew
Commits
3f1cd9c1
Commit
3f1cd9c1
authored
Apr 15, 2017
by
Bruno Guillaume
Browse files
Trick for undirect access to positions…
parent
1191d051
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grew_graph.ml
View file @
3f1cd9c1
...
...
@@ -686,6 +686,9 @@ module G_graph = struct
let
strings_to_concat
=
List
.
map
(
function
|
Concat_item
.
Feat
(
node_gid
,
"position"
)
->
let
node
=
Gid_map
.
find
node_gid
graph
.
map
in
sprintf
"%g"
(
G_node
.
get_position
node
)
|
Concat_item
.
Feat
(
node_gid
,
feat_name
)
->
let
node
=
Gid_map
.
find
node_gid
graph
.
map
in
(
match
G_fs
.
get_string_atom
feat_name
(
G_node
.
get_fs
node
)
with
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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