Comments (7)
(by gabor.csardi)
This change is probably too big for version 0.6, let's postpone it to 0.7.
from rigraph.
With the repaired vs
and es
indexing returning vs
and es
seems to be possible. The problem is that these return values cannot be used with modified graph objects. (But they should not be used, anyway.)
But a lot of functions return vertex/edge ids, do we want to change all of them? Here are all of them, unless I forgot some:
- all_shortest_paths
- articulation_points
- bfs
- biconnected_components
- blocks
- canonical_permutation
- cliques
- dfs
- dominator_tree
- ego
- ends
- farthest_vertices
- fit_hrg
- get_diameter
- girth
- graphlet_basis
- graphlets
- groups
- head_of
- incident
- ivs
- largest_cliques
- largest_ivs
- max_cardinality
- max_cliques
- max_flow
- maximal_ivs
- min_cut
- min_separators
- min_st_separators
- neighbors
- predict_edges
- shortest_paths
- st_cuts
- st_min_cuts
- subcomponent
- tail_of
- topo_sort
- triangles
- unfold_tree
from rigraph.
https://github.com/igraph/igraph/tree/return-vs-es
from rigraph.
groups
is tricky, because it is not called on the graph. If we want a vs
there, then we need to call groups
on the graph (as well):
clu <- components(g)
groups(g, clu)
from rigraph.
One big problem is that when one saves an object to a file, the whole graph is saved, too. So returning vs
/es
is a bad idea..... :( We should return vertex names instead.
from rigraph.
This is mostly sorted out by now, with weak references.
from rigraph.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
from rigraph.
Related Issues (20)
- Add `make_tri_lattice()`
- how to ensure styling of autogen code HOT 3
- why do autogen functions create a res object even when it's directly returned HOT 2
- Identify network analysis functions that don't use the C core HOT 4
- Fix `@seealso` for `make_()`
- issues from CRAN checks HOT 19
- Document test/script alignment in CONTRIBUTING.md
- ensure only roxygen2 is used HOT 2
- update/check adjacency test snapshot
- replace vendored lazyeval with rlang HOT 2
- Use `as.numeric(seq_len(n))` in favor of `seq(1, n)` HOT 10
- Reading from GraphML quietly drops edges HOT 2
- no diag element returned by "as_adjacency_matrix" when sparse = F HOT 7
- revdeps HOT 13
- V(g) not the same as 1:vcount HOT 5
- `cluster_label_prop()` crashes R when using fixed labels HOT 6
- Export `.from` etc. with behavior similar to `dplyr::across()` HOT 1
- use lifecyle for layout.fruchterman.reingold()
- Remove/deprecate the functions using constructor_spec()? HOT 1
- deprecate neimode argument in bfs() for good
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rigraph.