Comments (5)
Sorry, read this as vis.js
, but thiking now you are saying viz.js
. Only issue with viz.js
is some concern over ongoing development / support.
In case you are referring to vis.js
, I'll leave my original response below.
Trying to decide what would be best :
- provide
vis.js
as an option withinDiagrammeR
and just focus on the subset of networking libraries that enhance and also fit within the original intent - build a
htmlwidget
package entirely focused onvis.js
and ignore inDiagrammeR
- build a
vis.js
package and throughImports
or something similar offer the subset of network diagram functions also inDiagrammeR
@rich-iannone, your decision, but those are the options I see as viable. Any I am forgetting?
from diagrammer.
That is confusing but I did mean viz.js, with which ongoing development is likely abandoned. However, it does everything it needs to do and is pretty well documented as far as examples. Rationale for inclusion to DiagrammeR was a bit difficult at first. I thought that it could exist as a separate package, but, since there are several input code methods available in viz.js for GraphViz, I thought: why couldn't it exist alongside the mermaid engine?
Then the benefits of inclusion in DiagrammeR started to become clear: (1) people already know about DiagrammeR and what it is supposed to do (why not do more of it?), (2) DiagrammeR is in CRAN, so it's trivial to add in GraphViz support as an update, (3) with a push for more exhaustive documentation in DiagrammeR it would be great to also provide docs/examples for the GraphViz stuff where there is so little available (admit, I haven't searched too much but what I've found was scant).
Some disadvantages: (1) adds some complication to DiagrammeR (you'd have to select which engine to use), (2) might break any code that so far depends on DiagrammeR (but it's early days for this package, so, less worried about that), (3) might require a lot of work to document all of this (but, I'm willing to put in the hard work to get the docs looking good).
Alright! That is it. I think there is more positive than negative from including this. If during development it doesn't work out very well, the viz.js support could be dropped. I'm definitely okay with giving it a try. Could be very interesting.
from diagrammer.
I am impressed with viz.js
does, and since it used emscripten
with graphviz
should be nearly one-to-one for those acccustomed to graphviz
. Wondering now though, do we specify type mermaid
or graphviz/dot
in the DiagrammeR()
, try to use some auto-detection, or make a mermaid
function and a graphviz
function similar to networkD3
.
On a separate note, we should be able to leverage Rgraphviz
.
viz.js
is a fairly hefty >2mb, so this will need to be considered especially for online publish.
from diagrammer.
For simplicity's sake, I'm thinking that an auto-detection scheme will be less burdensome for the user. I have to look into Rgraphviz
. I was a bit surprised that viz.js
was at around 2.5 MB. It might not be that big a deal in the context of an htmlwidget
though. We'll have to see.
from diagrammer.
Great! It's in!
from diagrammer.
Related Issues (20)
- 'overlap = portho' causes error on to many clusters
- Render mermaid code HOT 1
- Exporting a graph to svg/png silently does nothing if DiagrammeRsvg isn't installed HOT 1
- Mermaid version used in DiagrammeR HOT 1
- .mmd file read and preview HOT 1
- Avoid nodes overlapping
- Integrate r variables in Mermaid Graph HOT 1
- github website link leads to spam HOT 1
- influenceR orphaned dependency HOT 4
- Release DiagrammeR 1.0.10
- export_graph layout
- render_graph layout
- `generate_dot()` uses single quotes instead of double quotes HOT 1
- as_svg produces `object 'display' not found' error
- Are the new features of gantt charts mermaid.js updated? HOT 2
- Error in render_graph HOT 1
- Test relies on specific output from sample_islands() for given seed HOT 4
- mermaid sequenceDiagram not working? HOT 2
- Documentation checks
- Quarto 1.4 - Cannot render `grVIz()` chart into HTML
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 diagrammer.