@specs-feup/alpakka
Version:
Alpakka is a [LARA Framework](https://github.com/specs-feup/lara-framework) source-to-source compiler for Android's [smali](https://github.com/google/smali) syntax. It enables the analysis and transformation of Android apps through APK files.
22 lines • 536 B
JavaScript
import DotFormatter from "./DotFormatter.js";
export default class DefaultDotFormatter extends DotFormatter {
formatNode(node) {
return {
id: node.id,
attrs: {
label: node.id,
shape: "box",
},
};
}
formatEdge(edge) {
return {
source: edge.source.id,
target: edge.target.id,
attrs: {
label: edge.id,
},
};
}
}
//# sourceMappingURL=DefaultDotFormatter.js.map