I'm curious if there are any plans to provide Polymer web component elements for Cytoscapejs? There seems to be some consensus from other projects towards moving in this direction (at least for visual web components). This would make it easier to integrate Cytoscapejs with other web components. Ideally, I'd like to be able to do something like this:
...
<template>
<iron-ajax auto url="/mynetwork.js" last-response="{{model}}"></iron-ajax>
<cytoscape-canvas model="[[model]]" on-load="_highlightNodes"></cytoscape>
</template>
<script>
...
_highlightNodes: function(){
var canvas = Polymer.dom(this.root).querySelector("cytoscape-canvas");
var symbols = ["KRAS", "CDKN2A", "TP53"...]
canvas.highlight(symbols);
}
</script>
> email to cytoscape-helpdesk+unsub...@googlegroups.com.
Mark
> email to cytoscape-helpdesk+unsubscribe@googlegroups.com.
> To post to this group, send email to cytoscape...@googlegroups.com.
> Visit this group at https://groups.google.com/group/cytoscape-helpdesk.
> For more options, visit https://groups.google.com/d/optout.
--
===================================
Keiichiro Ono
http://keiono.github.io/
===================================
--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpdesk+unsub...@googlegroups.com.
To post to this group, send email to cytoscape-helpdesk@googlegroups.com.