mirror of
https://github.com/radareorg/radare2.git
synced 2025-01-02 03:00:35 +00:00
1c93e8a727
More work on the webui New 'agj' command to get function graphs in json Fix segfault in 'ag' command 'agv' now launches the internal http server Initial refactoring for RAnalHint integration into RCore Add basic mime-type support in the http server Enhace the graph view style
19 lines
596 B
JavaScript
19 lines
596 B
JavaScript
enyo.kind ({
|
|
name: "Graph",
|
|
kind: "Scroller",
|
|
style: "background-color:#c0c0c0",
|
|
components: [
|
|
{tag: "h2", content: "Open graph", style:"margin-left:10px;"},
|
|
{kind: "Group", classes: "enyo-border-box group", defaultKind: "onyx.Button", components: [
|
|
{content: "Basic blocks", classes: "onyx-dark menu-button", ontap:"openGraphBB" },
|
|
{content: "Callgraph", classes: "onyx-dark menu-button", ontap:"openGraphCG" }
|
|
]}
|
|
],
|
|
openGraphBB: function () {
|
|
window.open ('/graph/', '_self');
|
|
},
|
|
openGraphCG: function () {
|
|
window.open ('/d3/', '_self');
|
|
}
|
|
});
|