Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
40
Issues
40
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
58cc8b08
Commit
58cc8b08
authored
Sep 16, 2020
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
draw_hierarchy(): fix problem with undirected graphs
parent
a573d13d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/graph_tool/draw/cairo_draw.py
src/graph_tool/draw/cairo_draw.py
+1
-1
No files found.
src/graph_tool/draw/cairo_draw.py
View file @
58cc8b08
...
...
@@ -2006,7 +2006,7 @@ def draw_hierarchy(state, pos=None, layout="radial", beta=0.8, node_weight=None,
t
.
new_ep
(
eorder
.
value_type
(),
eorder
.
fa
.
max
()
+
1
)))
u
,
props
=
graph_union
(
g
,
t
,
props
=
props
)
u
,
props
=
graph_union
(
GraphView
(
g
,
directed
=
True
)
,
t
,
props
=
props
)
for
k
in
set
(
list
(
vprops
.
keys
())
+
list
(
hvprops
.
keys
())):
t_vprops
[
k
]
=
props
.
pop
(
0
)
...
...
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